The Fast Inverse Square Root-- a bizarre little routine that somehow manages to compute the inverse square root of something, but you'd never guess that from looking at it.
http://betterexplained.com/articles/understanding-quakes-fast-inverse-square-root/