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

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