After learning that I got my checksums terribly wrong
, I need to ask this question. I am having trouble understanding the 2's compliment. Wikipedia says
Quote:
The two's complement of an N-bit number is defined as the complement with respect to 2N, in other words the result of subtracting the number from 2N. This is also equivalent to taking the ones' complement and then adding one, since the sum of a number and its ones' complement is all 1 bits. The two's complement of a number behaves like the negative of the original number in most arithmetic, and positive and negative numbers can coexist in a natural way.
the N's are in superscript so does that mean 2 to the N power