* java/math/BigDecimal.java (divide): Fixed comment.
From-SVN: r38862
This commit is contained in:
parent
698489049d
commit
737c87df28
@ -1,3 +1,7 @@
|
||||
2001-01-10 Warren Levy <warrenl@redhat.com>
|
||||
|
||||
* java/math/BigDecimal.java (divide): Fixed comment.
|
||||
|
||||
2001-01-10 Warren Levy <warrenl@redhat.com>
|
||||
|
||||
Fix for PR libgcj/1596:
|
||||
|
@ -146,7 +146,7 @@ public class BigDecimal extends Number implements Comparable {
|
||||
if (power < 0)
|
||||
{
|
||||
// Effectively increase the scale of val to avoid an
|
||||
// IllegalArgumentException for a negative power.
|
||||
// ArithmeticException for a negative power.
|
||||
valIntVal = valIntVal.multiply (BigInteger.valueOf (10).pow (-power));
|
||||
power = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user