Skip to content

Nemean

Fast Inverse Square Root — A Quake III Algorithm

About this video

A walkthrough of the Quake III fast inverse square root, explaining where the constant 0x5f3759df comes from. It covers IEEE 754 floats, the bit hack that approximates a logarithm, and a Newton's method refinement.