| Author |
Square Root of BigInteger
|
Justin Porter
Ranch Hand
Joined: Nov 20, 2004
Posts: 34
|
|
Does anyone know how I can get the square root of a BigInteger? I tried this: It didn't like that. It said that Math.pow cannot be applied to doubles! Any help would be appreciated, sorry for asking so many questions!
|
Want a free iPod, digital camera, or $300 cash? Completely legit offer at <a href="http://www.geocities.com/pricklymustard/freestuff.html" target="_blank" rel="nofollow">http://www.geocities.com/pricklymustard/freestuff.html</a> . I am looking for referrals which is why I need YOU!
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24057
|
|
|
See here.
|
[Jess in Action][AskingGoodQuestions]
|
 |
marc weber
Sheriff
Joined: Aug 31, 2004
Posts: 11343
|
|
I was just about to post the same link, but Ernest beat me to it. Incidentally, since you're working with cryptography, you might be interested in the nextProbablePrime() method in BigInteger. This is new with Java 1.5.
|
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
|
 |
 |
|
|
subject: Square Root of BigInteger
|
|
|