Simple question about: ~

Dave Decot decot at hpisod2.HP.COM
Fri Jan 29 12:24:48 AEST 1988


The most important advantage of two's complement (why do they call it
that?)  is that adding and subtracting integers is easier (you just add
normally), and this makes hardware to build:

   111010  (-6)
 + 001001  ( 9)
 --------------
   000011  ( 3)

Dave Decot
hpda!decot



More information about the Comp.lang.c mailing list