sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1528122 - in /sis/branches/JDK7/core/sis-utility/src: main/java/org/apache/sis/internal/util/DoubleDouble.java test/java/org/apache/sis/internal/util/DoubleDoubleTest.java
Date Tue, 01 Oct 2013 15:42:06 GMT
Author: desruisseaux
Date: Tue Oct  1 15:42:06 2013
New Revision: 1528122

URL: http://svn.apache.org/r1528122
Log:
Forgot to remove extra digits in the previous commit... (last digits were rounding error).

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

Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/internal/util/DoubleDouble.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/internal/util/DoubleDouble.java?rev=1528122&r1=1528121&r2=1528122&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/internal/util/DoubleDouble.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/internal/util/DoubleDouble.java
[UTF-8] Tue Oct  1 15:42:06 2013
@@ -112,7 +112,7 @@ public final class DoubleDouble extends 
          0.002777777777777777777777777777777778,    // 1/360°
          0.01,
          0.01666666666666666666666666666666667,     // Minute to degrees
-         0.017453292519943295769236907684886127134428333, // Degrees to radians
+         0.01745329251994329576923690768488613, // Degrees to radians
          0.1,
          0.201168,                                  // Link to metres
          0.3048,                                    // Feet to metres

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=1528122&r1=1528121&r2=1528122&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] Tue Oct  1 15:42:06 2013
@@ -262,7 +262,7 @@ public final strictfp class DoubleDouble
          "0.002777777777777777777777777777777778",
          "0.01",
          "0.01666666666666666666666666666666667",
-         "0.017453292519943295769236907684886127134428333",
+         "0.01745329251994329576923690768488613",
          "0.1",
          "0.201168",
          "0.3048",



Mime
View raw message