Mindbaffling

Hi,

this morning I read about something really crazy you can do in C++ which involves bitshifting a float number and subtracting it from a magic number to get \(\frac{1}{\sqrt{x}}\). You can find the explanation here, very cool: link

cheers

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.