Everything About ___
Live briefing

Everything about Ones' complement

Mathematics concept

The ones' complement of a binary number is the value obtained by inverting (flipping) all the bits in the number. The name "ones' complement" refers to the fact that such an inverted value, if added to the original, would always produce an "all ones" number. This mathematical operation is primarily of interest in computer science, where it has varying effects depending on how a specific computer represents numbers. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Ones' complementA 5-minute orientation
  2. Skim a recent paper: Complex agricultural landscapes host more biodiversity than simple ones: A global meta-analysisInfluential work since 2022
  3. Pick up a classic book: Anabolic primerThe most-reprinted book on the subject
  4. Read the landmark paper: Schizophrenia risk from complex variation of complement component 4Cited 2,352 times
  5. Go sideways: Two's complementA closely related topic
  6. Go sideways: Booth's multiplication algorithmA closely related topic

📖 Definitions

Noun The number obtained by subtracting a given n-digit binary number from 2n−1 (which yields the same result as the logical complement).

Noun 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 0 to −(2n−1−1), n being the word size of the machine, and the numeric complement of a number is its ones' complement.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics