A two’s-complement system, or two’s-complement arithmetic, is a system in which negative numbers are represented by the two’s complement of the absolute value. An N-bit two’s-complement numeral system can represent every integer in the range −1×2N−1 to 2N−1−1(-128 - 127).
The two’s-complement system has the advantage:
- not requiring that the addition and subtraction circuitry examine the signs of the operands to determine whether to add or subtract
- zero has only a single representation, obviating the subtleties associated with negative zero
(Source: Wikipedia)
-
ennabhahti liked this
-
attecn liked this
-
hellolixian posted this