Dictionary:One’s complement

From SEG Wiki
Jump to navigation Jump to search

{{#category_index:O|one’s complement}} The radix-minus-one complement form for representing negative binary numbers. It can be found by replacing all the ones by zeros and all the zeros by ones. For example, the decimal number 27 might be represented as 0011 011, and –27 as 1100 100. When a number is added to its negative all bit registers are full; e.g., 0011011+1100100=1111111. This system contains two representations of zero; all ones or all zeros. Compare two’s complement.