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

Be sure to read the appendix, which is an easy-to-miss link at the end: http://h14s.p5r.org/2012/09/0x5f3759df-appendix.html

The appendix was by far the most interesting part to me, after reading it I felt like I really got the intuition behind how the trick works.



Wow! Totally agree. The visualization makes it incredibly intuitive. It also makes me appreciate the importance and elegance of the floating point to int trick, which my brain had sort of elided over previously, as the "magic constant" seemed like the crux.




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

Search: