* java/math/BigDecimal.java (divide): Fixed comment.

From-SVN: r38862
This commit is contained in:
Warren Levy 2001-01-10 10:26:34 +00:00 committed by Warren Levy
parent 698489049d
commit 737c87df28
2 changed files with 5 additions and 1 deletions

View File

@ -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:

View File

@ -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;
}