Abstract
In a few places in the mathcw library, we need to work with an intermediate precision having at least twice as many digits as storage precision. In almost all historical floating-point architectures, for single-precision computation, the double-precision format satisfies that requirement (see Table H.1 on page 948). However, for double-precision work, higher precision may be unavailable, as is the case in many programming languages, or it may be insufficiently precise, such as the IEEE 754 80-bit format compared to the 64-bit format.
The computation of a*b - c*d in Java will produce the same result everywhere, but it may be the same very wrong result everywhere!
— Fred G. Gustavson, José E. Moreira and Robert F. Enenkel (1999).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this chapter
Cite this chapter
Beebe, N.H.F. (2017). Pair-precision arithmetic. In: The Mathematical-Function Computation Handbook. Springer, Cham. https://doi.org/10.1007/978-3-319-64110-2_13
Download citation
DOI: https://doi.org/10.1007/978-3-319-64110-2_13
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-64109-6
Online ISBN: 978-3-319-64110-2
eBook Packages: Computer ScienceComputer Science (R0)