logical complement

The number, obtained by complementing every bit of a given number, which produces all ones when exclusive ored with the given number.

Noun

  1. The number, obtained by complementing every bit of a given number, which produces all ones when exclusive ored with the given number.
    • The logical complement of 0xAAAA is 0x5555 on a 16-bit machine, and 0xFFFF5555 on a 32-bit machine.

Forms

logical complements

Synonyms

ones' complement

Related

complement numeric complement