August 13, 2011
The Benefit of Two’s Complement System

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)

1:34am  |   URL: http://tmblr.co/Zi3hLy8FqNQ_
  
Filed under: Hardware 
  1. hellolixian posted this