Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Everything I Know About the Fast Inverse Square Root Algorithm (github.com/francisrstokes)
31 points by todsacerdoti on May 29, 2024 | hide | past | favorite | 2 comments


> That sigma value was chosen by someone to optimise the approximation, but interestingly, it isn't actually the optimal value (more on that later), and it isn't actually known who came up with it! I've left all the math in so as to remove any possibility of this being a "magic" constant; It's really anything but!

Yes thank you for saying this. Taking a numerical methods class as an undergrad shouldn't be considered "magic".


Watched a YT video about this algo, and was blown away by sheer l33tness of it.




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

Search: