Phrase guide

two's complement

noun · 2 senses · updated from the 2026-07-25 local source snapshot

Definitions and examples are grouped by meaning. Pronunciation, history, word forms, translations, descendants, synonyms, antonyms, derived terms, and related words appear whenever the source provides them.

Sound

Pronunciation

Each Play button uses your device's default local English voice, or a natural local fallback. The selected voice name appears after playback. This is synthesized speech, not a source recording.

No pronunciation record was provided for this word.

1

noun

Meaning 1

The number obtained by complementing every bit of a given number and adding one. A number and its complement add to 2n, where n is the word size of the machine.

Definition source: English Wiktionary via Wiktextract

Topics: computing, engineering, mathematics, natural-sciences, physical-sciences, sciences

Examples

  • The two's complement of 0xAAAA is 0x5556 on a 16-bit machine, and 0xFFFF5556 on a 32-bit machine.

Meaning relationships

Synonyms: none provided

Antonyms: none provided

2

noun

Meaning 2

The convention by which bit patterns with high bit 0 represent positive numbers from 0 to 2n−1-1 directly, while bit patterns with high bit 1 represent negative numbers from −1 to -2n−1, n being the word size of the machine, and the numeric complement of a number is its two's complement.

Definition source: English Wiktionary via Wiktextract

Topics: computing, engineering, mathematics, natural-sciences, physical-sciences, sciences

Examples

  • Nearly all modern computers use two's complement for integer arithmetic.

Meaning relationships

Synonyms: none provided

Antonyms: none provided

History

Etymology

No etymology was provided for this word.

Across languages

Translations

6 source translations are retained for this English entry.

  • Finnish: kahden komplementti — Translations
  • Hungarian: kettes komplemens — Translations
  • Icelandic: tvíundafyllitala — Translations
  • Icelandic: tvíundafylling — Translations
  • Polish: kod uzupełnień do dwóch — Translations
  • Portuguese: complemento de dois — Translations