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
This commit is contained in:
parent
43c489d7cb
commit
67dcc70533
|
@ -30,10 +30,17 @@ import org.apache.commons.math3.exception.util.LocalizedFormats;
|
||||||
*/
|
*/
|
||||||
public class Precision {
|
public class Precision {
|
||||||
/**
|
/**
|
||||||
|
* <p>
|
||||||
* Largest double-precision floating-point number such that
|
* 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
|
||||||
* <br/>
|
* 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>.
|
* 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;
|
public static final double EPSILON;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue