Dictionary:two’s complement

ADVERTISEMENT
From SEG Wiki
Revision as of 13:46, 10 April 2019 by Aidamt (talk | contribs) (Marked this version for translation)
Jump to: navigation, search
Other languages:
English • ‎español


The radix complement form for representing negative binary numbers. It can be found by replacing all ones by zeros and all zeros by ones and then adding one. For example, the decimal number 27 is represented as 0011 011 and –27 by 1100 101. When a number is added to its negative, all registers are empty. There is only one representation for zero: all zeros. Compare one’s complement.