› added 9 years ago
179
TIL that in Quake III Arena, when developers needed to calculate x^(-½), one used a piece of code and the hexadecimal number 0x5f3759df to calculate it about 4 times faster than floating-point division. It was so strange another developer commented in the code “what the fuck?”