16-bit Fast Inverse Square Root

If you’re not familiar with the Fast Inverse Square Root algorithm, I thoroughly recommend reading about it before continuing. Not necessarily because the details are important, but because it’s such a mind-blowingly impressive hack. If you are already familiar with it, you might remember that it’s based on a magical constant (0x5F3759DF 1 ), carefully chosen to minimise the algorithm’s relative…