O'Reilly logo
  • Pawel Baczynski thinks this is interesting:

1s complement

From

Cover of Introduction to Computer Science, 2nd Edition

Note

The 2’s complement of binary number is obtained by adding 1 to the Least Significant Bit (LSB) of 1’s complement of the number, so for example:

Step 1: Begin with the original binary value

10011001  Original byte

Step 2: Find the one’s complement

01100110  One's complement

Step 3: Add 1 to the one’s complement

01100110  One's complement

+ 1 Add 1

01100111  <---  Two's complement