Repository: commons-math
Updated Branches:
  refs/heads/master c30b59103 -> 0f3626512


Revert previous commit with debug output, fix typo.


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/0f362651
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/0f362651
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/0f362651

Branch: refs/heads/master
Commit: 0f36265123605cac6af05b7b8c8f4036b58f4da4
Parents: c30b591
Author: tn <[email protected]>
Authored: Tue Jan 13 10:31:06 2015 +0100
Committer: tn <[email protected]>
Committed: Tue Jan 13 10:31:06 2015 +0100

----------------------------------------------------------------------
 src/main/java/org/apache/commons/math3/util/FastMath.java     | 4 +---
 src/test/java/org/apache/commons/math3/util/FastMathTest.java | 1 -
 2 files changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/0f362651/src/main/java/org/apache/commons/math3/util/FastMath.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/util/FastMath.java 
b/src/main/java/org/apache/commons/math3/util/FastMath.java
index f05efba..5178215 100644
--- a/src/main/java/org/apache/commons/math3/util/FastMath.java
+++ b/src/main/java/org/apache/commons/math3/util/FastMath.java
@@ -838,7 +838,7 @@ public class FastMath {
      *
      * Computes exp(x), function result is nearly rounded.   It will be 
correctly
      * rounded to the theoretical value for 99.9% of input values, otherwise 
it will
-     * have a 1 UPL error.
+     * have a 1 ULP error.
      *
      * Method:
      *    Lookup intVal = exp(int(x))
@@ -873,10 +873,8 @@ public class FastMath {
          * intPartA will have the upper 22 bits, intPartB will have the lower
          * 52 bits.
          */
-        System.out.println("Computing FastMath.exp(x=" + x + ")");
         if (x < 0.0) {
             intVal = (int) -x;
-            System.out.println("intval="+intVal);
 
             if (intVal > 746) {
                 if (hiPrec != null) {

http://git-wip-us.apache.org/repos/asf/commons-math/blob/0f362651/src/test/java/org/apache/commons/math3/util/FastMathTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math3/util/FastMathTest.java 
b/src/test/java/org/apache/commons/math3/util/FastMathTest.java
index 5deaead..f860754 100644
--- a/src/test/java/org/apache/commons/math3/util/FastMathTest.java
+++ b/src/test/java/org/apache/commons/math3/util/FastMathTest.java
@@ -34,7 +34,6 @@ import org.junit.Before;
 import org.junit.Ignore;
 import org.junit.Test;
 
-@Ignore
 public class FastMathTest {
 
     private static final double MAX_ERROR_ULP = 0.51;

Reply via email to