Skip to main content

Floating Point

  • Chapter
Numbers and Computers
  • 1638 Accesses

Abstract

We live in a world of floating-point numbers and we make frequent use of floating-point numbers when working with computers. In this chapter we dive deeply into how floating-point numbers are represented in a computer. We briefly review the distinction between real numbers and floating-point numbers. Then comes a brief historical look at the development of floating-point numbers. After this we compare two popular floating-point representations and then focus exclusively on the IEEE 754 standard. For IEEE 754 we consider representation, rounding, arithmetic, exception handling, and hardware implementations. We conclude the chapter with some comments about the pitfalls associated with using floating-point numbers.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.00
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Muller, J., Brisebarre, N., et al. Handbook of Floating-Point Arithmetic, Birkhäuser Boston (2010).

    Book  Google Scholar 

  2. Saracino D., Abstract Algerbra: A First Course, Addison-Wesley (1980).

    Google Scholar 

  3. Goldberg, D., “What every computer scientist should know about floating-point arithmetic.” ACM Computing Surveys (CSUR) 23.1 (1991): 5–48.

    Article  Google Scholar 

  4. Randell, B., The Origins of Digital Computers-Selected Papers. Springer-Verlag, (1982).

    Google Scholar 

  5. Rojas, R., “Konrad Zuse’s legacy: the architecture of the Z1 and Z3.” Annals of the History of Computing, IEEE 19.2 (1997): 5–16.

    Article  MathSciNet  Google Scholar 

  6. Cody, W., Waite, W. Software Manual for the Elementary Functions, Prentice-Hall, (1980).

    Google Scholar 

  7. Monniaux, D., “The pitfalls of verifying floating-point computations.” ACM Transactions on Programming Languages and Systems (TOPLAS) 30.3 (2008): 12.

    Article  Google Scholar 

  8. Rump, SM., “Accurate solution of dense linear systems, Part II: Algorithms using directed rounding.” Journal of Computational and Applied Mathematics 242 (2013): 185–212.

    Article  MATH  MathSciNet  Google Scholar 

  9. B-247094, Report to the House of Representatives. Washington, D.C.: GAO, Information Management and Technology Division, 4 Feb. 1992, url: www.fas.org/spp/starwars/gao/im92026.htm (retrieved 15 Oct 2014).

  10. Lions, JL (chair), ARIANE 5 Flight 501 Failure Report by the Inquiry Board, Paris, 19 July 1996.

    Google Scholar 

  11. Colonna, JF, The Subjectivity of Computers, http://www.lactamme.polytechnique.fr/descripteurs/subject.01..html. (retrieved 15 Oct 2014).

  12. http://www.mpfr.org/. (retrieved 15 Oct 2014).

  13. Higham, N. Accuracy and stability of numerical algorithms, Siam, (2002).

    Google Scholar 

  14. Acton, F., Real computing made real: Preventing Errors in Scientific and Engineering calculations, Courier Dover Publications, (2013).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Kneusel, R.T. (2015). Floating Point. In: Numbers and Computers. Springer, Cham. https://doi.org/10.1007/978-3-319-17260-6_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-17260-6_3

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-17259-0

  • Online ISBN: 978-3-319-17260-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics