1
Revisiting the Fast Inverse Square Root – Is It Still Useful?
In 2005, id Software released the source code for their 1999 game Quake III Arena under the GPL-2 license. In the file code/game/q_math.c , there is a function for calculating the reciprocal square root of a number which at first glance seems to use a very peculiar algorithm: