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 3693 2012-03-16 08:18:46Z CardosoP $
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 © 2016 CNES. All Rights Reserved.