Abstract
Cody and Waite specified their algorithms for the computation of the elementary functions in a language-independent way, although they wrote the accompanying ELEFUNT test package in Fortran. In principle, it should be straightforward to implement their recipes in any programming language on any operating system and any arithmetic system. However, for any particular environment, there are likely to be issues that need to be considered. In this chapter we discuss features of the C language and of the IEEE 754 arithmetic system that affect the implementation of the mathcw library, but we first examine a fundamental mathematical limitation on the accuracy of function evaluation.
In theory, theory and practice are the same. In practice, they are not.
— Attributed to baseball player Yogi Berra.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
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). Implementation issues. In: The Mathematical-Function Computation Handbook. Springer, Cham. https://doi.org/10.1007/978-3-319-64110-2_4
Download citation
DOI: https://doi.org/10.1007/978-3-319-64110-2_4
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)