4 ms·
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
by jackhalford 7y ago
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 https://en.m.wikipedia.org/wiki/Fast_inverse_square_root