"two's complement" meaning in All languages combined

See two's complement on Wiktionary

Noun [English]

Forms: two's complements [plural]
Head templates: {{en-noun}} two's complement (plural two's complements)
  1. (computing) 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.
    Sense id: en-two's_complement-en-noun-UPBMUAYw Categories (other): Computing, English entries with incorrect language header, Pages with 1 entry, Pages with entries, Terms with Finnish translations, Terms with Hungarian translations, Terms with Icelandic translations, Terms with Portuguese translations Disambiguation of English entries with incorrect language header: 55 45 Disambiguation of Pages with 1 entry: 50 50 Disambiguation of Pages with entries: 55 45 Disambiguation of Terms with Finnish translations: 51 49 Disambiguation of Terms with Hungarian translations: 57 43 Disambiguation of Terms with Icelandic translations: 53 47 Disambiguation of Terms with Portuguese translations: 55 45 Topics: computing, engineering, mathematics, natural-sciences, physical-sciences, sciences
  2. (computing) The convention by which bit patterns with high bit 0 represent positive numbers from 0 to 2ⁿ⁻¹-1 directly, while bit patterns with high bit 1 represent negative numbers from −1 to -2ⁿ⁻¹, n being the word size of the machine, and the numeric complement of a number is its two's complement. Related terms: complement, radix complement, numeric complement, ones' complement, signed magnitude Translations (Translations): kahden komplementti (Finnish), kettes komplemens (Hungarian), tvíundafyllitala [feminine] (Icelandic), tvíundafylling [feminine] (Icelandic), complemento de dois [masculine] (Portuguese)
    Sense id: en-two's_complement-en-noun-JWGU~i5b Categories (other): Computing, English entries with incorrect language header, Entries with translation boxes, Pages with 1 entry, Pages with entries, Terms with Finnish translations, Terms with Icelandic translations, Terms with Portuguese translations Disambiguation of English entries with incorrect language header: 55 45 Disambiguation of Entries with translation boxes: 42 58 Disambiguation of Pages with 1 entry: 50 50 Disambiguation of Pages with entries: 55 45 Disambiguation of Terms with Finnish translations: 51 49 Disambiguation of Terms with Icelandic translations: 53 47 Disambiguation of Terms with Portuguese translations: 55 45 Topics: computing, engineering, mathematics, natural-sciences, physical-sciences, sciences Disambiguation of 'Translations': 44 56

Inflected forms

{
  "forms": [
    {
      "form": "two's complements",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "two's complement (plural two's complements)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "langcode": "en",
          "name": "Computing",
          "orig": "en:Computing",
          "parents": [],
          "source": "w"
        },
        {
          "_dis": "55 45",
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "50 50",
          "kind": "other",
          "name": "Pages with 1 entry",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "55 45",
          "kind": "other",
          "name": "Pages with entries",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "51 49",
          "kind": "other",
          "name": "Terms with Finnish translations",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "57 43",
          "kind": "other",
          "name": "Terms with Hungarian translations",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "53 47",
          "kind": "other",
          "name": "Terms with Icelandic translations",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "55 45",
          "kind": "other",
          "name": "Terms with Portuguese translations",
          "parents": [],
          "source": "w+disamb"
        }
      ],
      "examples": [
        {
          "bold_text_offsets": [
            [
              4,
              20
            ]
          ],
          "text": "The two's complement of 0xAAAA is 0x5556 on a 16-bit machine, and 0xFFFF5556 on a 32-bit machine.",
          "type": "example"
        }
      ],
      "glosses": [
        "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."
      ],
      "id": "en-two's_complement-en-noun-UPBMUAYw",
      "links": [
        [
          "computing",
          "computing#Noun"
        ],
        [
          "complement",
          "complement"
        ],
        [
          "bit",
          "bit"
        ]
      ],
      "raw_glosses": [
        "(computing) 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."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "sciences"
      ]
    },
    {
      "categories": [
        {
          "kind": "other",
          "langcode": "en",
          "name": "Computing",
          "orig": "en:Computing",
          "parents": [],
          "source": "w"
        },
        {
          "_dis": "55 45",
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "42 58",
          "kind": "other",
          "name": "Entries with translation boxes",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "50 50",
          "kind": "other",
          "name": "Pages with 1 entry",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "55 45",
          "kind": "other",
          "name": "Pages with entries",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "51 49",
          "kind": "other",
          "name": "Terms with Finnish translations",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "53 47",
          "kind": "other",
          "name": "Terms with Icelandic translations",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "55 45",
          "kind": "other",
          "name": "Terms with Portuguese translations",
          "parents": [],
          "source": "w+disamb"
        }
      ],
      "examples": [
        {
          "bold_text_offsets": [
            [
              32,
              48
            ]
          ],
          "text": "Nearly all modern computers use two's complement for integer arithmetic.",
          "type": "example"
        }
      ],
      "glosses": [
        "The convention by which bit patterns with high bit 0 represent positive numbers from 0 to 2ⁿ⁻¹-1 directly, while bit patterns with high bit 1 represent negative numbers from −1 to -2ⁿ⁻¹, n being the word size of the machine, and the numeric complement of a number is its two's complement."
      ],
      "id": "en-two's_complement-en-noun-JWGU~i5b",
      "links": [
        [
          "computing",
          "computing#Noun"
        ],
        [
          "high bit",
          "high bit"
        ],
        [
          "word",
          "word"
        ],
        [
          "size",
          "size"
        ],
        [
          "numeric complement",
          "numeric complement"
        ]
      ],
      "raw_glosses": [
        "(computing) The convention by which bit patterns with high bit 0 represent positive numbers from 0 to 2ⁿ⁻¹-1 directly, while bit patterns with high bit 1 represent negative numbers from −1 to -2ⁿ⁻¹, n being the word size of the machine, and the numeric complement of a number is its two's complement."
      ],
      "related": [
        {
          "_dis1": "25 75",
          "word": "complement"
        },
        {
          "_dis1": "25 75",
          "word": "radix complement"
        },
        {
          "_dis1": "25 75",
          "word": "numeric complement"
        },
        {
          "_dis1": "25 75",
          "word": "ones' complement"
        },
        {
          "_dis1": "25 75",
          "word": "signed magnitude"
        }
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "sciences"
      ],
      "translations": [
        {
          "_dis1": "44 56",
          "code": "fi",
          "lang": "Finnish",
          "sense": "Translations",
          "word": "kahden komplementti"
        },
        {
          "_dis1": "44 56",
          "code": "hu",
          "lang": "Hungarian",
          "sense": "Translations",
          "word": "kettes komplemens"
        },
        {
          "_dis1": "44 56",
          "code": "is",
          "lang": "Icelandic",
          "sense": "Translations",
          "tags": [
            "feminine"
          ],
          "word": "tvíundafyllitala"
        },
        {
          "_dis1": "44 56",
          "code": "is",
          "lang": "Icelandic",
          "sense": "Translations",
          "tags": [
            "feminine"
          ],
          "word": "tvíundafylling"
        },
        {
          "_dis1": "44 56",
          "code": "pt",
          "lang": "Portuguese",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "complemento de dois"
        }
      ]
    }
  ],
  "wikipedia": [
    "two's complement"
  ],
  "word": "two's complement"
}
{
  "categories": [
    "English countable nouns",
    "English entries with incorrect language header",
    "English lemmas",
    "English multiword terms",
    "English nouns",
    "Entries with translation boxes",
    "Pages with 1 entry",
    "Pages with entries",
    "Terms with Finnish translations",
    "Terms with Hungarian translations",
    "Terms with Icelandic translations",
    "Terms with Portuguese translations",
    "Translation table header lacks gloss"
  ],
  "forms": [
    {
      "form": "two's complements",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "two's complement (plural two's complements)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "related": [
    {
      "word": "complement"
    },
    {
      "word": "radix complement"
    },
    {
      "word": "numeric complement"
    },
    {
      "word": "ones' complement"
    },
    {
      "word": "signed magnitude"
    }
  ],
  "senses": [
    {
      "categories": [
        "English terms with usage examples",
        "en:Computing"
      ],
      "examples": [
        {
          "bold_text_offsets": [
            [
              4,
              20
            ]
          ],
          "text": "The two's complement of 0xAAAA is 0x5556 on a 16-bit machine, and 0xFFFF5556 on a 32-bit machine.",
          "type": "example"
        }
      ],
      "glosses": [
        "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."
      ],
      "links": [
        [
          "computing",
          "computing#Noun"
        ],
        [
          "complement",
          "complement"
        ],
        [
          "bit",
          "bit"
        ]
      ],
      "raw_glosses": [
        "(computing) 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."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "sciences"
      ]
    },
    {
      "categories": [
        "English terms with usage examples",
        "en:Computing"
      ],
      "examples": [
        {
          "bold_text_offsets": [
            [
              32,
              48
            ]
          ],
          "text": "Nearly all modern computers use two's complement for integer arithmetic.",
          "type": "example"
        }
      ],
      "glosses": [
        "The convention by which bit patterns with high bit 0 represent positive numbers from 0 to 2ⁿ⁻¹-1 directly, while bit patterns with high bit 1 represent negative numbers from −1 to -2ⁿ⁻¹, n being the word size of the machine, and the numeric complement of a number is its two's complement."
      ],
      "links": [
        [
          "computing",
          "computing#Noun"
        ],
        [
          "high bit",
          "high bit"
        ],
        [
          "word",
          "word"
        ],
        [
          "size",
          "size"
        ],
        [
          "numeric complement",
          "numeric complement"
        ]
      ],
      "raw_glosses": [
        "(computing) The convention by which bit patterns with high bit 0 represent positive numbers from 0 to 2ⁿ⁻¹-1 directly, while bit patterns with high bit 1 represent negative numbers from −1 to -2ⁿ⁻¹, n being the word size of the machine, and the numeric complement of a number is its two's complement."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "sciences"
      ]
    }
  ],
  "translations": [
    {
      "code": "fi",
      "lang": "Finnish",
      "sense": "Translations",
      "word": "kahden komplementti"
    },
    {
      "code": "hu",
      "lang": "Hungarian",
      "sense": "Translations",
      "word": "kettes komplemens"
    },
    {
      "code": "is",
      "lang": "Icelandic",
      "sense": "Translations",
      "tags": [
        "feminine"
      ],
      "word": "tvíundafyllitala"
    },
    {
      "code": "is",
      "lang": "Icelandic",
      "sense": "Translations",
      "tags": [
        "feminine"
      ],
      "word": "tvíundafylling"
    },
    {
      "code": "pt",
      "lang": "Portuguese",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "complemento de dois"
    }
  ],
  "wikipedia": [
    "two's complement"
  ],
  "word": "two's complement"
}

Download raw JSONL data for two's complement meaning in All languages combined (3.3kB)


This page is a part of the kaikki.org machine-readable All languages combined dictionary. This dictionary is based on structured data extracted on 2025-05-29 from the enwiktionary dump dated 2025-05-20 using wiktextract (e937b02 and f1c2b61). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.