CVSROOT: /cvsroot/classpath
Module name: classpath
Branch: generics-branch
Changes by: Anthony Balkissoon <[EMAIL PROTECTED]> 06/02/27 21:35:15
Modified files:
. : ChangeLog
java/math : BigDecimal.java
Log message:
2006-02-27 Anthony Balkissoon <[EMAIL PROTECTED]>
* java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
(add(BigDecimal, MathContext)): New method.
(subtract(BigDecimal, MathContext)): Likewise.
(precision): Fixed to correctly handle BigIntegers with more than 19
digits.
(pow(int, MathContext)): New method.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?only_with_tag=generics-branch&tr1=1.2386.2.207&tr2=1.2386.2.208&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/java/math/BigDecimal.java.diff?only_with_tag=generics-branch&tr1=1.17.2.12&tr2=1.17.2.13&r1=text&r2=text