logical complement

noun

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.”

Meanings

nounlogical complement (plural logical complements)

plural logical complements

  1. computingThe 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.

    Synonyms: ones' complement

Synonyms & antonyms

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

Cite this entry
APA

logical complement. (n.d.). In WatkinsX Dictionary. Retrieved November 2, 2026, from https://dictionary.watkinsx.com/word/logical%20complement

MLA

“logical complement.” WatkinsX Dictionary, https://dictionary.watkinsx.com/word/logical%20complement. Accessed November 2, 2026.

Chicago

WatkinsX Dictionary, s.v. “logical complement,” accessed November 2, 2026, https://dictionary.watkinsx.com/word/logical%20complement.

Source: logical complement on Wiktionary, CC BY-SA 4.0.