Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: