2019
DOI: 10.3390/computation7030041
|View full text |Cite
|
Sign up to set email alerts
|

A Modification of the Fast Inverse Square Root Algorithm

Abstract: We present a new algorithm for the approximate evaluation of the inverse square root for single-precision floating-point numbers. This is a modification of the famous fast inverse square root code. We use the same “magic constant” to compute the seed solution, but then, we apply Newton–Raphson corrections with modified coefficients. As compared to the original fast inverse square root code, the new algorithm is two-times more accurate in the case of one Newton–Raphson correction and almost seven-times more acc… Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
2

Citation Types

0
21
0

Year Published

2021
2021
2023
2023

Publication Types

Select...
3
3

Relationship

1
5

Authors

Journals

citations
Cited by 12 publications
(21 citation statements)
references
References 31 publications
0
21
0
Order By: Relevance
“…The idea of increasing the accuracy by a modification of the Newton–Raphson formulas is motivated by the fact that for any (see [ 31 , 32 ]). Therefore, we can try to shift the graph of upwards (making it more symmetric with respect to the horizontal axis).…”
Section: Modified Newton–raphson Formulasmentioning
confidence: 99%
See 4 more Smart Citations
“…The idea of increasing the accuracy by a modification of the Newton–Raphson formulas is motivated by the fact that for any (see [ 31 , 32 ]). Therefore, we can try to shift the graph of upwards (making it more symmetric with respect to the horizontal axis).…”
Section: Modified Newton–raphson Formulasmentioning
confidence: 99%
“…Therefore, we can try to shift the graph of upwards (making it more symmetric with respect to the horizontal axis). Then, the errors of the first correction are expected to decrease twice and the errors of the second correction are expected to decrease by about eight times (for more details, see [ 32 ]). Indeed, according to ( 8 ), reducing the first correction by a factor of 2 will reduce the second correction by a factor of 4.…”
Section: Modified Newton–raphson Formulasmentioning
confidence: 99%
See 3 more Smart Citations