commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1374395 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/Precision.java
Date Fri, 17 Aug 2012 18:45:49 GMT
Author: celestin
Date: Fri Aug 17 18:45:49 2012
New Revision: 1374395

URL: http://svn.apache.org/viewvc?rev=1374395&view=rev
Log:
MATH-843: integrated changes suggested by Dominik Gruntz.

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=1374395&r1=1374394&r2=1374395&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 Fri
Aug 17 18:45:49 2012
@@ -30,10 +30,17 @@ import org.apache.commons.math3.exceptio
  */
 public class Precision {
     /**
+     * <p>
      * Largest double-precision floating-point number such that
-     * {@code 1 + EPSILON} is numerically equal to 1.
-     * <br/>
+     * {@code 1 + EPSILON} is numerically equal to 1. This value is an upper
+     * bound on the relative error due to rounding real numbers to double
+     * precision floating-point numbers.
+     * </p>
+     * <p>
      * In IEEE 754 arithmetic, this is 2<sup>-53</sup>.
+     * </p>
+     *
+     * @see <a href="http://en.wikipedia.org/wiki/Machine_epsilon">Machine epsilon</a>
      */
     public static final double EPSILON;
 



Mime
View raw message