Comment on 0x5f3759df and the fast inverse square root (2012)parentComments−readerrrr11yDid you compare its speed to built in atan2 function?I counted the cycles for you method and it comes to around 50 plus a conditional. Built in function should be around the same.
Comments
Did you compare its speed to built in atan2 function?
I counted the cycles for you method and it comes to around 50 plus a conditional. Built in function should be around the same.