This document discusses different methods for representing signed numbers in binary, including sign-magnitude, one's complement, and two's complement representations. It explains that:
- In sign-magnitude representation, a sign bit is added to indicate positive or negative, but it results in two representations for 0 and non-standard arithmetic.
- One's complement represents negative numbers by inverting all bits of the positive number, but it also has two representations for 0.
- Two's complement derives negative numbers by inverting and adding 1, resulting in a single representation for 0 and allowing standard arithmetic operations without adjusting for sign. It is now the most common method used to represent signed integers in computing.
The document provides