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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Muller, J., Brisebarre, N., et al. Handbook of Floating-Point Arithmetic, Birkhäuser Boston (2010).
Saracino D., Abstract Algerbra: A First Course, Addison-Wesley (1980).
Goldberg, D., “What every computer scientist should know about floating-point arithmetic.” ACM Computing Surveys (CSUR) 23.1 (1991): 5–48.
Randell, B., The Origins of Digital Computers-Selected Papers. Springer-Verlag, (1982).
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.
Cody, W., Waite, W. Software Manual for the Elementary Functions, Prentice-Hall, (1980).
Monniaux, D., “The pitfalls of verifying floating-point computations.” ACM Transactions on Programming Languages and Systems (TOPLAS) 30.3 (2008): 12.
Rump, SM., “Accurate solution of dense linear systems, Part II: Algorithms using directed rounding.” Journal of Computational and Applied Mathematics 242 (2013): 185–212.
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).
Lions, JL (chair), ARIANE 5 Flight 501 Failure Report by the Inquiry Board, Paris, 19 July 1996.
Colonna, JF, The Subjectivity of Computers, http://www.lactamme.polytechnique.fr/descripteurs/subject.01..html. (retrieved 15 Oct 2014).
http://www.mpfr.org/. (retrieved 15 Oct 2014).
Higham, N. Accuracy and stability of numerical algorithms, Siam, (2002).
Acton, F., Real computing made real: Preventing Errors in Scientific and Engineering calculations, Courier Dover Publications, (2013).
Author information
Authors and Affiliations
Rights 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)