Quick read · plain language
How Computers Store Numbers with Gaps
A plain-language version of “3 Mechanics”
The short version
Computers cannot store all numbers exactly. They use a common system that leaves small gaps between stored numbers. This causes errors that grow and spread through calculations.
Why computers need a number system
Computers must store numbers in a fixed amount of space. The usual system is called floating-point. It works like scientific notation in school, but with base two. This system is used in almost all science and engineering work. It lets computers handle both very large and very small numbers. But it also forces numbers into a fixed pattern. This creates gaps between stored numbers. These gaps are the core problem the paper explores.
How the number storage works
Each stored number uses three parts packed into a fixed number of bits. The first part is one bit for the sign. This bit says if the number is positive or negative. The second part holds the scale of the number. It works like the power of ten in scientific notation, but using powers of two. The third part holds the significant digits. To save space, the first digit is not stored. It is always assumed to be one. This trick squeezes extra precision out of the fixed space. But it also means only some numbers can be stored exactly.
Special cases and limits
The system includes special values for unusual cases. Zero has its own code. There are also codes for infinity and for "not a number." Infinity appears when a result grows too large. "Not a number" appears from impossible operations like zero divided by zero. These special values let programs keep running instead of crashing. But they also mean information is lost. The stored numbers have a largest and smallest size. Go beyond these, and you hit overflow or underflow. The gaps between stored numbers change size. They are tiny near zero and huge for large numbers.
Where errors come from
Errors appear in several ways. Representation error happens when a number cannot be stored exactly. Many simple decimals like one-tenth fall into this trap. Rounding error happens when math operations need more precision than exists. The true answer gets pushed to the nearest stored number. Absorption happens when a small number is added to a big one. The small number simply disappears. Catastrophic cancellation happens when two nearly equal numbers are subtracted. The important digits cancel out. Only error-filled digits remain. This can destroy the accuracy of a result.
How errors spread and grow
Small errors do not stay small. They move through each step of a calculation. Sometimes they partly cancel out. Sometimes they pile up. In the worst cases, they grow exponentially. A stable algorithm keeps errors under control. An unstable algorithm lets errors explode. Even the order of operations matters. Adding numbers in a different order can give a different answer. This breaks a basic rule of normal math. It makes parallel computing hard. Different machines may get slightly different results.
Other storage systems have the same problem
The paper briefly notes other ways to store numbers. Fixed-point keeps the decimal place in one spot. This is simpler but allows a smaller range of numbers. Integers are exact within their range but cannot handle fractions. All these systems use a fixed amount of space. All of them create a finite set of stored values. None can match the smooth, gap-free number line of ideal math. Floating-point is simply the most common compromise.
What the paper does not show
The paper does not claim that these errors always ruin real-world work. It does not test actual programs or simulations. It does not compare how often each error type appears in practice. It does not offer new fixes or better algorithms. It leaves open how much these effects matter for specific fields like weather models or physics engines. It also does not explore newer or less common number systems that might reduce these problems.
Words used here
- bit
- the smallest unit of computer storage, like a single switch that is either off or on
- floating-point
- a way to store numbers using a fixed count of digits and a separate power that moves the decimal point
- mantissa
- the part of a stored number that holds its significant digits, like the "six" in "six times ten to the third"
- overflow
- a result too large to store, which becomes infinity instead
- underflow
- a result too small to store normally, which becomes zero or loses precision
Learn more in plain language
- Computer memorySimple English Wikipedia
- Scientific notationSimple English Wikipedia
- Binary numberWikipedia (English, more technical)
- BitWikipedia (English, more technical)
- Floating-point arithmeticWikipedia (English, more technical)
This plain-language version was written by an AI model from the text of the paper and checked against plain-language rules: everyday words, no mathematics, no unexplained names. It leaves details out and can still be wrong; the paper is the source of record. To report a problem, open the paper, select the passage and choose Report.
For specialists: the technical digest, quoted from the paper
In the paper's words
To fully grasp the profound consequences of implied discretization, it is essential to delve into the specific mechanics of how numbers are commonly represented and manipulated within digital computers. While various number systems exist, the overwhelming standard for scientific and engineering computation is floating-point arithmetic, typically conforming to the specifications laid out in the IEEE 754 standard. Understanding this standard provides a concrete framework for analyzing how the inherent limitations of finite representation lead inevitably to the discretization effects that challenge the modeling of continuous systems.
The abstract, verbatim, and its opening sentence is the claim. Every line below is quoted from the text.
Numbers it reports
The most commonly encountered formats in scientific computing are single-precision (using 32 bits per number) and double-precision (using 64 bits per number).
from 3.1. Floating-Point Representation (IEEE 754 Deep Dive)The fixed number of bits allocated for a floating-point number (e.g., 64 bits for double precision) is partitioned to store these three components.
from 3.1.1. Sign, Exponent, and Mantissa Structure (Binary Focus)For double precision, 11 bits are allocated for the exponent.
from 3.1.1. Sign, Exponent, and Mantissa Structure (Binary Focus)A fixed integer bias (equal to 1023 for double precision’s 11 bits) is added to the true exponent before it is stored.
from 3.1.1. Sign, Exponent, and Mantissa Structure (Binary Focus)This allows the stored exponent bits (ranging from 0 to 2047 for 11 bits) to represent actual exponents ranging roughly from -1022 to +1023.
from 3.1.1. Sign, Exponent, and Mantissa Structure (Binary Focus)For double precision, 52 bits are allocated for the mantissa.
from 3.1.1. Sign, Exponent, and Mantissa Structure (Binary Focus)
How it is done
The way errors propagate depends heavily on the specific mathematical operations being performed and the structure of the algorithm.
from 3.3.1. Error PropagationAn algorithm is considered numerically stable if it does not unduly magnify the errors that are inevitably introduced during the computation (due to finite precision) or small perturbations in the input data.
from 3.3.2. Numerical Stability/Instability
What would falsify it
The paper's text states no explicit falsification criterion; the limits below are what it says about where the claim stops.
Where the claim stops
However, handling denormalized numbers often requires special microcode or hardware assistance and can incur a significant performance penalty on some processors, leading some applications to flush denormalized results directly to zero (“abrupt underflow”).
from 3.1.2. Normalization, Denormals, and Special ValuesOverflow occurs when the result of an arithmetic operation produces a finite number whose magnitude is larger than the largest representable finite number in the chosen format (approximately $1.8 \times 10^{308}$ for doubles).
from 3.1.3. Finite Range (Overflow/Underflow)Underflow occurs when the result of an operation is smaller in magnitude than the smallest positive normalized number (approximately $2.2 \times 10^{-308}$ for doubles) but still non-zero.
from 3.1.3. Finite Range (Overflow/Underflow)
Where to read
- Abstract103 words · 1 min
- 3.1. Floating-Point Representation (IEEE 754 Deep Dive)1,738 words · 8 min
- 3.2. Sources of Discrepancy1,072 words · 5 min
- 3.3. Dynamic Consequences819 words · 4 min
- 3.4. Beyond Floats: Other Finite Representations391 words · 2 min
Read from the paper itself: 19 sections, 4,226 words. Nothing in this digest is written by a model; a line that is not a sentence of the paper is not shown. Have a specific question? Ask this paper.
The full text · Ask the whole corpus
Keep exploring
One body of research, three doors.