2019
DOI: 10.47839/ijc.18.4.1616
|View full text |Cite
|
Sign up to set email alerts
|

Simple Effective Fast Inverse Square Root Algorithm With Two Magic Constants

Abstract: The purpose of this paper is to introduce a modification of Fast Inverse Square Root (FISR) approximation algorithm with reduced relative errors. The original algorithm uses a magic constant trick with input floating-point number to obtain a clever initial approximation and then utilizes the classical iterative Newton-Raphson formula. It was first used in the computer game Quake III Arena, causing widespread discussion among scientists and programmers, and now it can be frequently found in many scientific appl… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1

Citation Types

0
2
0

Year Published

2021
2021
2024
2024

Publication Types

Select...
2
1
1

Relationship

0
4

Authors

Journals

citations
Cited by 4 publications
(2 citation statements)
references
References 15 publications
0
2
0
Order By: Relevance
“…It can be adjusted to yield the desired accuracy by controlling the number of polynomial coefficients 25,48 . Besides, the polynomial approximation method can be used for estimating the seed value of the square root for iterative algorithms 49,50 . The closer the value to the exact root, the fewer iterations are needed.…”
Section: Polynomial Approximation Methodmentioning
confidence: 99%
“…It can be adjusted to yield the desired accuracy by controlling the number of polynomial coefficients 25,48 . Besides, the polynomial approximation method can be used for estimating the seed value of the square root for iterative algorithms 49,50 . The closer the value to the exact root, the fewer iterations are needed.…”
Section: Polynomial Approximation Methodmentioning
confidence: 99%
“…In the field of computer 3D graphics, and scientific computing, accurate representation of real numbers in computers often requires the use of floating-point arithmetic. One common task is the calculation of inverse square root, which is typically implemented through iterative algorithms with initial approximations obtained from lookup tables or magic constants [1]. As a result, it makes it computationally difficult as more divisions as well as direct square root operation is needed which makes more usage of hardware and hence more utilization cost.…”
Section: Introductionmentioning
confidence: 99%