bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/27685] Wrong result in java.math.BigInteger.modPow()


From: michael at hausl dot com
Subject: [Bug classpath/27685] Wrong result in java.math.BigInteger.modPow()
Date: 27 May 2006 06:44:13 -0000


------- Comment #4 from michael at hausl dot com  2006-05-27 06:44 -------
(In reply to comment #1)
> I think you mean
> 
>    return modInverse(m).modPow(exponent.negate(), m)

Of course you are right, I was not accurate enough.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27685





reply via email to

[Prev in Thread] Current Thread [Next in Thread]