Walczyk, Cezary J. and Moroz, Leonid V. and Cieśliński, Jan L. (2021) Improving the Accuracy of the Fast Inverse Square Root by Modifying Newton–Raphson Corrections. Entropy, 23 (1). p. 86. ISSN 1099-4300
entropy-23-00086-v2.pdf - Published Version
Download (687kB)
Abstract
Direct computation of functions using low-complexity algorithms can be applied both for hardware constraints and in systems where storage capacity is a challenge for processing a large volume of data. We present improved algorithms for fast calculation of the inverse square root function for single-precision and double-precision floating-point numbers. Higher precision is also discussed. Our approach consists in minimizing maximal errors by finding optimal magic constants and modifying the Newton–Raphson coefficients. The obtained algorithms are much more accurate than the original fast inverse square root algorithm and have similar very low computational costs.
Item Type: | Article |
---|---|
Uncontrolled Keywords: | approximation of functions; floating-point arithmetic; Newton–Raphson method; inverse square root; magic constant |
Subjects: | STM Repository > Physics and Astronomy |
Depositing User: | Managing Editor |
Date Deposited: | 09 May 2023 05:18 |
Last Modified: | 09 Jul 2024 06:57 |
URI: | http://classical.goforpromo.com/id/eprint/466 |