org.apache.commons.math3
Class UtilsCommonsMath

java.lang.Object
  extended by org.apache.commons.math3.UtilsCommonsMath

public final class UtilsCommonsMath
extends Object

Since:
1.0
Version:
$Id: UtilsCommonsMath.java 17583 2017-05-10 13:05:10Z bignon $
Author:
Julie Anton
Description :

This class contains the different epsilons used for the development

Use sample :
double epsilon = UtilsCommonsMath.EPSILON;
Concurrency :
immutable

Field Summary
static double DOUBLE_COMPARISON_EPSILON
          Epsilon used for doubles relative comparison
static double EPSILON
          Smallest positive number such that 1 - EPSILON is not numerically equal to 1.
static double GEOMETRY_EPSILON
          Epsilon for the geometry aspects.
static double SAFE_MIN
          Safe minimum, such that 1 / SAFE_MIN does not overflow.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EPSILON

public static final double EPSILON
Smallest positive number such that 1 - EPSILON is not numerically equal to 1.


DOUBLE_COMPARISON_EPSILON

public static final double DOUBLE_COMPARISON_EPSILON
Epsilon used for doubles relative comparison

See Also:
Constant Field Values

GEOMETRY_EPSILON

public static final double GEOMETRY_EPSILON
Epsilon for the geometry aspects.

See Also:
Constant Field Values

SAFE_MIN

public static final double SAFE_MIN
Safe minimum, such that 1 / SAFE_MIN does not overflow.

In IEEE 754 arithmetic, this is also the smallest normalized number 2-1022.



Copyright © 2017 CNES. All Rights Reserved.