Comment on 0x5f3759df and the fast inverse square root (2012)parentComments−GFK_of_xmaspast11yhow's it compare to a CORDIC?−spiritplumber11yI wrote it for the Parallax Propeller, which is slow at doing divisions - so I tried to keep those to a minimum (one, which isn't too bad).−GFK_of_xmaspast11yWith a CORDIC the only divides should be by powers of 2 in the main loop and taking out the gain factor at the end, all of which can be turned into multiplies?−spiritplumber11yThanks, I'm going to go back and try it :)
Comments
how's it compare to a CORDIC?
I wrote it for the Parallax Propeller, which is slow at doing divisions - so I tried to keep those to a minimum (one, which isn't too bad).
With a CORDIC the only divides should be by powers of 2 in the main loop and taking out the gain factor at the end, all of which can be turned into multiplies?
Thanks, I'm going to go back and try it :)