two's complement
two's complement
English
Noun
Ad
Definition
The number obtained by complementing every bit of a given number and adding one. A number and its complement add to 2ⁿ, where n is the word size of the machine.
Example Sentences
- "The two's complement of 0xAAAA is 0x5556 on a 16-bit machine, and 0xFFFF5556 on a 32-bit machine."
- "Nearly all modern computers use two's complement for integer arithmetic."
Ad