This post has moved to eklausmeier.goip.de/blog/2013/04-30-0x5f3759df-calculating-inverse-square-root.
An interesting article in Wikipedia on calculating a first approximation of the inverse of the square root Fast inverse square root, or 0x5f3759df – calculating inverse square root