Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

The same trick (approximating with a first order Taylor series), is also the basis of quake's famous fast inverse square root [1]. I love these methods because they always involve a "magic constant".

[1] https://en.m.wikipedia.org/wiki/Fast_inverse_square_root



view as:

Legal | privacy