I am trying to understand the logic behind the arithmetic of one\two complement. Why I can sum\subtract numbers with this method and get the right answer, and why all the issue of "carry" works in this two method as it works? Someone could help?
Asked
Active
Viewed 106 times
0
-
Number theory. Arithmetic in ℤ/2ⁿℤ, the congruence classes of integers modulo 2ⁿ. – Raymond Chen Jul 10 '15 at 17:28
-
1possible duplicate of [Why is two's complement used to represent negative numbers?](http://stackoverflow.com/questions/1125304/why-is-twos-complement-used-to-represent-negative-numbers) – Raymond Chen Jul 10 '15 at 17:29