"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. Categories (topical): Computing
    Sense id: en-two's_complement-en-noun-UPBMUAYw Categories (other): English entries with incorrect language header Disambiguation of English entries with incorrect language header: 53 47 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. Categories (topical): Computing Related terms: complement, radix complement, numeric complement, ones' complement, signed magnitude
    Sense id: en-two's_complement-en-noun-zIh17Az8 Categories (other): English entries with incorrect language header Disambiguation of English entries with incorrect language header: 53 47 Topics: computing, engineering, mathematics, natural-sciences, physical-sciences, sciences
The following are not (yet) sense-disambiguated
Translations (Translations): kahden komplementti (Finnish), kettes komplemens (Hungarian), tvíundafyllitala [feminine] (Icelandic), tvíundafylling [feminine] (Icelandic), complemento de dois [masculine] (Portuguese)
Disambiguation of 'Translations': 52 48

Inflected forms

Download JSON data for two's complement meaning in All languages combined (3.6kB)

{
  "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": "topical",
          "langcode": "en",
          "name": "Computing",
          "orig": "en:Computing",
          "parents": [
            "Technology",
            "All topics",
            "Fundamental"
          ],
          "source": "w"
        },
        {
          "_dis": "53 47",
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w+disamb"
        }
      ],
      "examples": [
        {
          "text": "The two's complement of 0xAAAA is 0x5556 on a 16-bit machine, and 0xFFFF5556 on a 32-bit machine."
        }
      ],
      "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": "topical",
          "langcode": "en",
          "name": "Computing",
          "orig": "en:Computing",
          "parents": [
            "Technology",
            "All topics",
            "Fundamental"
          ],
          "source": "w"
        },
        {
          "_dis": "53 47",
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w+disamb"
        }
      ],
      "examples": [
        {
          "text": "Nearly all modern computers use two's complement for integer arithmetic."
        }
      ],
      "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-zIh17Az8",
      "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": "52 48",
      "code": "fi",
      "lang": "Finnish",
      "sense": "Translations",
      "word": "kahden komplementti"
    },
    {
      "_dis1": "52 48",
      "code": "hu",
      "lang": "Hungarian",
      "sense": "Translations",
      "word": "kettes komplemens"
    },
    {
      "_dis1": "52 48",
      "code": "is",
      "lang": "Icelandic",
      "sense": "Translations",
      "tags": [
        "feminine"
      ],
      "word": "tvíundafyllitala"
    },
    {
      "_dis1": "52 48",
      "code": "is",
      "lang": "Icelandic",
      "sense": "Translations",
      "tags": [
        "feminine"
      ],
      "word": "tvíundafylling"
    },
    {
      "_dis1": "52 48",
      "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",
    "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": [
        "en:Computing"
      ],
      "examples": [
        {
          "text": "The two's complement of 0xAAAA is 0x5556 on a 16-bit machine, and 0xFFFF5556 on a 32-bit machine."
        }
      ],
      "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": [
        "en:Computing"
      ],
      "examples": [
        {
          "text": "Nearly all modern computers use two's complement for integer arithmetic."
        }
      ],
      "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"
}

This page is a part of the kaikki.org machine-readable All languages combined dictionary. This dictionary is based on structured data extracted on 2024-05-03 from the enwiktionary dump dated 2024-05-02 using wiktextract (f4fd8c9 and c9440ce). 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.