Repository: commons-math
Updated Branches:
  refs/heads/master bae46709e -> dc5f850d1


Add temp debug output


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

Branch: refs/heads/master
Commit: dc5f850d1d9b0b952b7f0dabd6778cf0f7675cba
Parents: bae4670
Author: Thomas Neidhart <thomas.neidh...@gmail.com>
Authored: Mon Jan 12 22:07:54 2015 +0100
Committer: Thomas Neidhart <thomas.neidh...@gmail.com>
Committed: Mon Jan 12 22:07:54 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/commons/math3/complex/ComplexTest.java     | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/dc5f850d/src/test/java/org/apache/commons/math3/complex/ComplexTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math3/complex/ComplexTest.java 
b/src/test/java/org/apache/commons/math3/complex/ComplexTest.java
index ea77444..804b97e 100644
--- a/src/test/java/org/apache/commons/math3/complex/ComplexTest.java
+++ b/src/test/java/org/apache/commons/math3/complex/ComplexTest.java
@@ -797,6 +797,12 @@ public class ComplexTest {
 
     @Test
     public void testExpInf4() {
+        // TODO: temp debug start
+        double inf = negInfOne.getReal();
+        System.out.println(inf);
+        int intVal = (int) -inf;
+        System.out.println(intVal);
+        // TODO: temp debug end
         System.out.println("expReal="+FastMath.exp(negInfOne.getReal())); // 
TODO temp debug
         System.out.println("cosImag="+FastMath.cos(negInfOne.getImaginary())); 
// TODO temp debug
         System.out.println("sinImag="+FastMath.sin(negInfOne.getImaginary())); 
// TODO temp debug

Reply via email to