Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Free access

Fast evaluation of elementary mathematical functions with correctly rounded last bit

Published: 01 September 1991 Publication History
First page of PDF

References

[1]
BLACK, BURTON, AND MILLER. The need for an industry standard of accuracy for elementary-function programs. ACM Trans. Math. Softw. 10, 4 (Dec. 1984), 361-366
[2]
BRENT, R P. A Fortran multiple-precision arithmetic package. ACM Trans. Math. Softw. 4, 1 (1978), 57-70.
[3]
BRENT, R.P. Algorithm 524. MP: A Fortran multiple-precision arithmetic package. ACM Trans. Math. Softw., 4, 1 (1978), 71-81.
[4]
BRENT, R. P. Fast multiple-precision evaluation of elementary functions. J. ACM 23, 2 (1976), 242-251.
[5]
CLENSHAW, C. W., AND OLVER, F. W. J. An unrestricted algorithm for the exponential function. SIAM J. Numer. Anal., 17, 2 (Apr. 1980).
[6]
GAL, S. Computing elementary functions: A new approach for achieving high accuracy and good performance accurate scientific computations. In Lecture notes in Computer Science, no. 235, Springer-Verlag, New York 1986, pp. 1-16.
[7]
GAL, AND BACHELIS. An accurate elementary mathematical library for the IEEE floating point standard. ACM Trans. Math. Softw. 17, I (March 1991), 26-45; also Tech. Rep. 88.223, IBM Israel Science and Technology, June 1987.
[8]
HmL, I. D. Procedures for the basic arithmetical operators in multiple-length working. Comput. J. 11 (1968), 232-235.
[9]
IBM CORPORATION. Elementary math library: Programming RPQ (5799-BTB), Program Reference and Operations Manual, 1984.
[10]
IEEE Standard for Binary Floating Potnt Arithmetic. ANSI/ IEEE Std 754-1985, 1985.
[11]
IEEE Standard For Radix-lndependent Floating Point Arithmetic. ANSI/IEEE Std 854-1987, 1987.
[12]
KULISCH, U. W., AND MmANKER, L. M. Computer Arithmetic in Theory and Practice. Academic Press, Orlando, Fla., 1981.
[13]
OLVER, F. W.J. A new approach to error arithmetic. SIAM J. Numer. Anal., 15, 2 (1978), 368-393.
[14]
OLVER, F. W.J. Unrestricted algorithms for generating elementary functions. Computing, Supplement 2. Springer-Verlag, New York, 1980, pp. 131-140.
[15]
STERBENZ, P.H. Floating Poi~t Computation. Prentice-Hall, Englewood Cliffs, N. J., 1974.
[16]
WmKINSON J.H. Rounding Errors in Algebraic Processes. Prentice-Hall, Englewood Cliffs, N. J., 1963.
[17]
WYATT, J. R., LOZmR, D. W., AND ORSER D. J. A portable extended precision arithmetic package and library with Fortran precompiler. ACM Trans. Math. Softw. 2, 3 (1976), 209-231.
[18]
Zw, A. Relative distance--An error measure in round-off error analysis. Math. Comput. 39, 160 (1982), 563-569.

Cited By

View all
  • (2024)Parallel Optimization for Accelerating the Generation of Correctly Rounded Elementary FunctionsProceedings of the 53rd International Conference on Parallel Processing10.1145/3673038.3673125(21-31)Online publication date: 12-Aug-2024
  • (2023)Fast Polynomial Evaluation for Correctly Rounded Elementary Functions using the RLIBM ApproachProceedings of the 21st ACM/IEEE International Symposium on Code Generation and Optimization10.1145/3579990.3580022(95-107)Online publication date: 17-Feb-2023
  • (2023)Towards a correctly-rounded and fast power function in binary64 arithmetic2023 IEEE 30th Symposium on Computer Arithmetic (ARITH)10.1109/ARITH58626.2023.00028(111-118)Online publication date: 4-Sep-2023
  • Show More Cited By

Recommendations

Reviews

Heinrich W. Guggenheimer

The variety of rounding rules used for elementary mathematical function routines makes it difficult to use different routines and obtain the same values up to the last bit. The technique proposed here to obtain correct function values (given a fixed rounding rule for the last digit) is to use a fast primary routine (such as Gal's look-up routines) and then to test for indeterminacy of the last digit, requiring that the number differ from any jump point of ROUND( ) by no more than a small e >0 . In the few cases where this condition is violated, a slow, high-accuracy routine can then be used (repeatedly, if necessary). If the last digits are random (a hypothesis certainly violated for functions such as cos x , x<<1 ), then a probabilistic argument shows that in most modern machine implementations, the secondary routine is almost never invoked, and therefore the slowness of the secondary routine will have no effect on expected CPU time.

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Mathematical Software
ACM Transactions on Mathematical Software  Volume 17, Issue 3
Sept. 1991
142 pages
ISSN:0098-3500
EISSN:1557-7295
DOI:10.1145/114697
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 September 1991
Published in TOMS Volume 17, Issue 3

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. compatibility
  2. correct rounding
  3. mathematical library

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)157
  • Downloads (Last 6 weeks)22
Reflects downloads up to 13 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Parallel Optimization for Accelerating the Generation of Correctly Rounded Elementary FunctionsProceedings of the 53rd International Conference on Parallel Processing10.1145/3673038.3673125(21-31)Online publication date: 12-Aug-2024
  • (2023)Fast Polynomial Evaluation for Correctly Rounded Elementary Functions using the RLIBM ApproachProceedings of the 21st ACM/IEEE International Symposium on Code Generation and Optimization10.1145/3579990.3580022(95-107)Online publication date: 17-Feb-2023
  • (2023)Towards a correctly-rounded and fast power function in binary64 arithmetic2023 IEEE 30th Symposium on Computer Arithmetic (ARITH)10.1109/ARITH58626.2023.00028(111-118)Online publication date: 4-Sep-2023
  • (2023)Generalities on Fixed-Point Function ApproximationApplication-Specific Arithmetic10.1007/978-3-031-42808-1_16(477-495)Online publication date: 23-Aug-2023
  • (2022)Progressive polynomial approximations for fast correctly rounded math librariesProceedings of the 43rd ACM SIGPLAN International Conference on Programming Language Design and Implementation10.1145/3519939.3523447(552-565)Online publication date: 9-Jun-2022
  • (2022)One polynomial approximation to produce correctly rounded results of an elementary function for multiple representations and rounding modesProceedings of the ACM on Programming Languages10.1145/34986646:POPL(1-28)Online publication date: 12-Jan-2022
  • (2022)The CORE-MATH Project2022 IEEE 29th Symposium on Computer Arithmetic (ARITH)10.1109/ARITH54963.2022.00014(26-34)Online publication date: Sep-2022
  • (2021)Arpra: An Arbitrary Precision Range Analysis LibraryFrontiers in Neuroinformatics10.3389/fninf.2021.63272915Online publication date: 25-Jun-2021
  • (2021)High performance correctly rounded math libraries for 32-bit floating point representationsProceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation10.1145/3453483.3454049(359-374)Online publication date: 19-Jun-2021
  • (2021)An approach to generate correctly rounded math libraries for new floating point variantsProceedings of the ACM on Programming Languages10.1145/34343105:POPL(1-30)Online publication date: 4-Jan-2021
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media