You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2014/03/25 17:05:36 UTC

svn commit: r1581393 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java

Author: erans
Date: Tue Mar 25 16:05:36 2014
New Revision: 1581393

URL: http://svn.apache.org/r1581393
Log:
Clearer statements.

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

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java?rev=1581393&r1=1581392&r2=1581393&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java Tue Mar 25 16:05:36 2014
@@ -2529,11 +2529,11 @@ public class FastMath {
          */
 
         yb = 0.07490822288864472;
-        yb = yb * epsA2 + -0.09088450866185192;
+        yb = yb * epsA2 - 0.09088450866185192;
         yb = yb * epsA2 + 0.11111095942313305;
-        yb = yb * epsA2 + -0.1428571423679182;
+        yb = yb * epsA2 - 0.1428571423679182;
         yb = yb * epsA2 + 0.19999999999923582;
-        yb = yb * epsA2 + -0.33333333333333287;
+        yb = yb * epsA2 - 0.33333333333333287;
         yb = yb * epsA2 * epsA;