Original Post
do you guys know a fast method to find integer square roots?
i mean sqrt(10) = 3.
P.S: editing for correcting gammar mistakes
[edited by - akiinao on June 10, 2002 5:25:14 PM]
quote:
Original post by Kern
simply do this:
int iResult = (int)sqrt(value);
There is no faster way to get square roots. Thats why you should avoid using them when possible
quote:
Original post by grhodes_at_work
I guess he probably never called them "dumbass!"
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more