You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2012/04/26 03:03:16 UTC

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

Author: sebb
Date: Thu Apr 26 01:03:16 2012
New Revision: 1330616

URL: http://svn.apache.org/viewvc?rev=1330616&view=rev
Log:
Javadoc: @value only works for compile-time constants

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

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/Precision.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/Precision.java?rev=1330616&r1=1330615&r2=1330616&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/Precision.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/Precision.java Thu Apr 26 01:03:16 2012
@@ -36,8 +36,9 @@ public class Precision {
 
     /**
      * Smallest positive number such that {@code 1 - EPSILON} is not
-     * numerically equal to 1: {@value}.
-     * In IEEE 754 arithmetic, this is 2<sup>-53</sup>: {@value}.
+     * numerically equal to 1.
+     * <br/>
+     * In IEEE 754 arithmetic, this is 2<sup>-53</sup>.
      */
     public static final double EPSILON = Double.longBitsToDouble((EXPONENT_OFFSET - 53l) << 52);
     //This was previously expressed as = 0x1.0p-53;
@@ -45,8 +46,9 @@ public class Precision {
 
     /**
      * Safe minimum, such that {@code 1 / SAFE_MIN} does not overflow.
+     * <br/>
      * In IEEE 754 arithmetic, this is also the smallest normalized
-     * number 2<sup>-1022</sup>: {@value}.
+     * number 2<sup>-1022</sup>.
      */
     public static final double SAFE_MIN = Double.longBitsToDouble((EXPONENT_OFFSET - 1022l) << 52);
     // This was previously expressed as = 0x1.0p-1022;