OSDN Git Service

* java/math/BigDecimal.java (divide): Fixed comment.
authorwarrenl <warrenl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jan 2001 10:26:34 +0000 (10:26 +0000)
committerwarrenl <warrenl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jan 2001 10:26:34 +0000 (10:26 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38862 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/java/math/BigDecimal.java

index f326bb9..eb11f12 100644 (file)
@@ -1,5 +1,9 @@
 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:
        * java/math/BigDecimal.java (divide): Check newScale for validity.
        Ensure that BigInteger.pow() is called with a non-negative value.
index 007f3a3..6fbd927 100644 (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;
       }