News for hackers. Stuff that matters.
Re:Did any processor implement an integer square root instru... by Dwedit on Sunday April 07, 2024 @04:04PM (#39963404)
2 ^ (1/2 * Log2(X)) = sqrt(X)

You can get a really really rough approximation if you replace Log2(x) with 'count leading zeroes'. With a better approximation of Log(2), you can get closer to the answer.

There are no comments on this comment yet.