Quote:Original post by lunar-blue
Hey, im new here and im a junior programmer pretty much, but i did some projects for mathematic calculators and collision detection....i know that newton had a very efficient method of solving square roots.....i also have a method, im not sure if its as fast as you'd like but the good thing about it is that u can give it the accuracy you want. If you need the code i'll be glad to share
I use my own method, wich is the binary method.
Basically, you express number n in the form a * 2^0 + b * 2^1.... then you halve each exponent.
Dead simple in hw. (with some mods, it can be done without transisters at all).
In sw, you need tables tho...
Theres other things, like binary trees, ect. Which can be faster...
From,
Nice coder