中文Log in
genius.wiki
Back to the archive

The encyclopedia · Engineering & Operations · Technical decision · 1977-1985

IEEE 754 made floating point deterministic, so one program ran the same everywhere

Designed for Intel's 8087 and standardized in 1985, IEEE 754 fixed bit layouts, rounding and special values, ending vendor-specific floating point.

Intel · IEEE

the move

Before IEEE 754, every computer vendor implemented floating-point arithmetic differently; the same program could give different answers on different machines, and numerical software was not portable. William Kahan's status notes on the standard trace the fix back to 1977, during the design of the Intel 8087 that preceded IEEE 754.

The standard specifies what competitors left unspecified: the precise layout of bits in single and double precision, correct rounding, and defined behavior for exceptions, flags and modes, including special values like NaN and infinity. David Goldberg's ACM survey, hosted by Oracle, describes IEEE 754 as a binary standard that requires exact bit layouts rather than leaving encoding to each vendor.

IEEE 754 was approved in 1985, and because Intel's 8087 and every major CPU after it implemented the same rules, programs and algorithms could finally rely on identical behavior across platforms. Kahan's notes and Goldberg's survey became the canonical references for how the standard works.

why it works

  • Defined bit layouts and rounding made results reproducible across vendors.
  • Defined exceptional cases removed the undefined-behavior trap in numerical code.
  • Intel shipped the first implementation, giving the standard a dominant early adopter.
the payoffSpecify every bit; leave no arithmetic to chanceinspired

what transfers

A standard wins when it removes the risk users fear most: results that change when you change vendors. Specifying everything, even the edge cases others ignored, made numerical code portable.

what came after

IEEE 754 became the floating-point foundation of nearly every processor, language and numerical library; later revisions (754-2008 and 754-2019) extended it to decimal and half-precision formats while keeping the same core design. Kahan's status lectures and Goldberg's survey remain the standard introductions.

references

spotted an error? The archive wants to know.

same kind of clever