Dictionary:Two’s complement

From SEG Wiki
Jump to navigation Jump to search
ADVERTISEMENT
Other languages:


{{#category_index:T|two’s complement}} 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.