|
-
Jan 12th, 2003, 02:17 PM
#1
Thread Starter
Hyperactive Member
square root algoritm
what the best algorithim for calculating square using only the 4 basic operations? the i only one i know is approximating it by using newton's method
"There are only two things that are infinite. The universe and human stupidity... and the universe I'm not sure about." - Einstein
If you are programming in Java use www.NetBeans.org
-
Jan 12th, 2003, 11:23 PM
#2
Fanatic Member
the newton's approximation is pretty good
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Jan 13th, 2003, 05:27 PM
#3
Frenzied Member
Here is a page full of square root algorithms, some using integer arithmetic
http://www.azillionmonkeys.com/qed/sqroot.html
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|