embarcadero.us
Marked 2 years 6 months ago onto Fast Inverse Square Root in Delphi’s Object Pascal
Source: https://blogs.embarcadero.com/fast-inverse-square-root-in-delphis-object-pascal/
It is based on Newton's method for estimating roots. Additionally, it converts the floating-point number to an integer, uses bit shifting, and starts with an approximation of ?2^127. The commented-out line allows for an additional iteration to improve the estimate, which was not used in Quate III Arena. For more details about "fast inverse square root" visit our website once.
Category:
Comments
Leave your comment below