You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2009/12/27 22:06:22 UTC

svn commit: r894109 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigReal.java

Author: luc
Date: Sun Dec 27 21:06:21 2009
New Revision: 894109

URL: http://svn.apache.org/viewvc?rev=894109&view=rev
Log:
fixed a forgotten replacement of divide method
JIRA: MATH-307

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigReal.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigReal.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigReal.java?rev=894109&r1=894108&r2=894109&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigReal.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigReal.java Sun Dec 27 21:06:21 2009
@@ -234,7 +234,7 @@
 
     /** {@inheritDoc} */
     public BigReal divide(BigReal a) throws ArithmeticException {
-        return new BigReal(d.divide(a.d));
+        return new BigReal(d.divide(a.d, scale, roundingMode));
     }
 
     /** {@inheritDoc} */