Two's complement: Difference between revisions
m
→{{header|Craft Basic}}
Basicgames (talk | contribs) |
|||
Line 157:
end</syntaxhighlight>
{{out| Output}}<pre>
-1234567 : 1234567
-1234566 : 1234566
-2 : 2
-1 : 1
0 : 0
1 : -1
2 : -2
1234565 : -1234565
1234566 : -1234566
</pre>
=={{header|Delphi}}==
|