You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2013/10/23 21:45:22 UTC

svn commit: r1535135 - /sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/internal/util/DoubleDoubleTest.java

Author: desruisseaux
Date: Wed Oct 23 19:45:22 2013
New Revision: 1535135

URL: http://svn.apache.org/r1535135
Log:
Relaxed again the tolerance threshold.

Modified:
    sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/internal/util/DoubleDoubleTest.java

Modified: sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/internal/util/DoubleDoubleTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/internal/util/DoubleDoubleTest.java?rev=1535135&r1=1535134&r2=1535135&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/internal/util/DoubleDoubleTest.java [UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/internal/util/DoubleDoubleTest.java [UTF-8] Wed Oct 23 19:45:22 2013
@@ -55,9 +55,10 @@ public final strictfp class DoubleDouble
     /**
      * The tolerance factor (as a multiplicand) for the multiplication and division operations.
      * This is a tolerance factor in units of {@link DoubleDouble#error} ULP, so even a "scary"
-     * factor like 1E+4 should be very small compared to the {@link DoubleDouble#value}.
+     * factor like 1E+5 should be very small compared to the {@link DoubleDouble#value}.
+     * This is the worst case error found empirically - most errors are smaller than that.
      */
-    private static final double PRODUCT_TOLERANCE_FACTOR = 20000;
+    private static final double PRODUCT_TOLERANCE_FACTOR = 100000;
 
     /**
      * Tolerance threshold for strict comparisons of floating point values.