This is an old version, saved 4 Dec 2026, 16:26 by TechWritereditor. See the current version.

IEEE 754

IEEE 754 is the technical standard for floating-point arithmetic, the method computers use to calculate with non-whole numbers such as 3.27.[1] Approved by the IEEE in 1985, it was widely adopted as the standard for reliable numerical computing, so that calculations give the same results on different machines.[2][1]

Contents
  1. History
  2. How it works
  3. See also
  4. References

History

The IEEE 754 subcommittee was founded in 1977. William Kahan of the University of California, Berkeley, attended its second meeting that September, and in 1978 he drafted the initial proposal, known as KCS, with visiting professor Harold Stone and graduate student Jerome Coonen.[2] Microprocessor companies were implementing the proposal by 1980, when Intel delivered its 8087 floating-point coprocessor, one of the first implementations.[2] The IEEE approved the standard in 1985, and it was adopted internationally as ISO/IEC 60559 in 1989.[2]

Kahan spent about a decade leading the development and adoption of IEEE 754 and the related IEEE 854 standard, and the binary standard was taken up by nearly every computer and chip manufacturer.[3] He received the 1989 ACM A.M. Turing Award for his fundamental contributions to numerical analysis.[3][4] The standard was revised in 2008 and again in 2019; the 2019 revision was approved on 13 June 2019, with David Hough as chair and Mike Cowlishaw as editor.[5] In 2023 the original standard was recognised as an IEEE Milestone, with plaques at Berkeley and at the Computer History Museum.[2]

How it works

A floating-point number is stored as a sign, an exponent and a significand. In the 32-bit single-precision format, 1 bit holds the sign, 8 bits the exponent and 23 bits the significand; the 64-bit double-precision format has an 11-bit exponent and 53 bits of precision.[6] The standard requires addition, subtraction, multiplication, division and square root to be correctly rounded: the answer must equal the exact result rounded to the nearest representable number, with ties rounded to even by default.[6]

IEEE 754 also defines special values: positive and negative zero, very small "denormalised" numbers, positive and negative infinity, and "Not a Number" (NaN). For example, dividing a non-zero number by zero gives infinity, while 0/0 gives NaN.[6]

See also

References

  1. ^ Floating-point calculation. Encyclopaedia Britannica. britannica.com
  2. ^ Milestones: IEEE Standard 754 for Binary Floating-Point Arithmetic, 1985. IEEE History Center (Engineering and Technology History Wiki). ethw.org
  3. ^ William Kahan – ACM A.M. Turing Award. Association for Computing Machinery. awards.acm.org
  4. ^ William Kahan. Encyclopaedia Britannica. britannica.com
  5. ^ ANSI/IEEE Std 754-2019 – background. IEEE Microprocessor Standards Committee. grouper.ieee.org
  6. ^ What Every Computer Scientist Should Know About Floating-Point Arithmetic (Numerical Computation Guide, Appendix D). Oracle. docs.oracle.com