From 67dcc7053330e8221433e723b1e3a70fbb03f100 Mon Sep 17 00:00:00 2001 From: Sebastien Brisard Date: Fri, 17 Aug 2012 18:45:49 +0000 Subject: [PATCH] MATH-843: integrated changes suggested by Dominik Gruntz. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1374395 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/commons/math3/util/Precision.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/math3/util/Precision.java b/src/main/java/org/apache/commons/math3/util/Precision.java index f3aec11a8..453fd46ab 100644 --- a/src/main/java/org/apache/commons/math3/util/Precision.java +++ b/src/main/java/org/apache/commons/math3/util/Precision.java @@ -30,10 +30,17 @@ import org.apache.commons.math3.exception.util.LocalizedFormats; */ public class Precision { /** + *

* Largest double-precision floating-point number such that - * {@code 1 + EPSILON} is numerically equal to 1. - *
+ * {@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. + *

+ *

* In IEEE 754 arithmetic, this is 2-53. + *

+ * + * @see Machine epsilon */ public static final double EPSILON;