It is not known precisely how the exact value for the magic number was determined.
Fast inverse square root - Wikipedia, the free encyclopedia, via @jsn00k. I love stuff like this. The second comment in the implementation from Quake III Arena probably sums it up for most of us; I have no idea how this works, I’m just glad it does.

1 note

Show

  1. s1mn posted this