bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/33206] Long overflow in BigInteger.java


From: johnx at dodgit dot com
Subject: [Bug classpath/33206] Long overflow in BigInteger.java
Date: 27 Aug 2007 18:01:29 -0000


------- Comment #1 from johnx at dodgit dot com  2007-08-27 18:01 -------
Or more efficiently:
   BigInteger m = pMinus1.divide(valueOf(2L).pow(b - 1));


-- 


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





reply via email to

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