Abstract
This paper explores the principles and numerics behind the use of identities to test the accuracy of elementary function software. The success of this approach depends critically on proper matching of identity and test interval with the purpose of the test, and on careful implementation based on an understanding of computer arithmetic systems and inherent accuracy limitations for computational software.
This work was supported by the Applied Mathematical Sciences Research Program (KC-04-02) of the Office of Energy Research of the U.S. Department of Energy under Contract W-31-109-Eng-33.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
M. Abramowitz and I.A. Stegun, Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, Nat. Bur. Standards Appl. Math. Series, 55, Washington, D.C., 1964.
W.J. Cody, “Performance testing of function subroutines,” AFIPS Conf. Proc., Vol. 34, 1969 SJCC, AFIPS Press, Montvale, N.J., 1969, pp. 759–763.
W.J. Cody, “The FUNPACK package of special function subroutines,’ TOMS 1, 1975, pp. 13–25.
W.J. Cody, “Basic concepts for computational software,” Applied Mathematics Division Technical Memorandum 360, Argonne National Laboratory, November, 1980 (to appear in Proceedings of Inter. national Seminar on Problems and Methodologies in Software Production, Sorrento, Italy, November 3–0, 1980 ).
W.J. Cody, “Implementation and Testing of Function Software,” Applied Mathematics Division Technical Memorandum 363, Argonne National Laboratory, November, 1980 (to appear in Proceedings of International Seminar on Problems and Methodologies in Software Production, Sorrento, Italy, November 3–8, 1980 ).
W.J. Cody and W. Waite, Software Manual for the Elementary Functions, Prentice Hall, Englewood Cliffs, N.J., 1980.
C. Hammer, “Statistical validation of mathematical computer routines,” AFIPS Conf. Proc., Vol. 30, 1967 SJCC, Thompson Book Co., Washington, D.C., 1967, pp. 331–333.
A.C.R. Newbery and A.P. Leigh, “Consistency tests for elementary functions,” AFIPS Conf. Proc., Vol. 39, 1971 FJCC, AFIPS Press, Montvale, N.J., 1971, pp. 419–422.
S. Walther, “A unified algorithm for the elementary functions,” AFIPS Conf. Proc., Vol. 38, 1971 SJCC, AFIPS Press, Montvale, N.J., 1971, pp. 379–385.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1982 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Cody, W.J. (1982). Transportable Test Procedures for Elementary Function Software. In: Mulvey, J.M. (eds) Evaluating Mathematical Programming Techniques. Lecture Notes in Economics and Mathematical Systems, vol 199. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-95406-1_23
Download citation
DOI: https://doi.org/10.1007/978-3-642-95406-1_23
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-11495-6
Online ISBN: 978-3-642-95406-1
eBook Packages: Springer Book Archive