- EPSILON - Static variable in class org.apache.commons.numbers.core.Precision
-
Largest double-precision floating-point number such that
1 + EPSILON
is numerically equal to 1.
- eq(double, double) - Method in interface org.apache.commons.numbers.core.Precision.DoubleEquivalence
-
Indicates whether given values are considered equal to each other.
- equals(float, float) - Static method in class org.apache.commons.numbers.core.Precision
-
- equals(float, float, float) - Static method in class org.apache.commons.numbers.core.Precision
-
Returns true
if there is no float value strictly between the
arguments or the difference between them is within the range of allowed
error (inclusive).
- equals(float, float, int) - Static method in class org.apache.commons.numbers.core.Precision
-
Returns true if the arguments are equal or within the range of allowed
error (inclusive).
- equals(double, double) - Static method in class org.apache.commons.numbers.core.Precision
-
- equals(double, double, double) - Static method in class org.apache.commons.numbers.core.Precision
-
Returns true
if there is no double value strictly between the
arguments or the difference between them is within the range of allowed
error (inclusive).
- equals(double, double, int) - Static method in class org.apache.commons.numbers.core.Precision
-
Returns true if the arguments are equal or within the range of allowed
error (inclusive).
- equalsIncludingNaN(float, float) - Static method in class org.apache.commons.numbers.core.Precision
-
Returns true if both arguments are NaN or they are
equal as defined by
equals(x, y, 1)
.
- equalsIncludingNaN(float, float, float) - Static method in class org.apache.commons.numbers.core.Precision
-
Returns true if the arguments are both NaN, there are no float value strictly
between the arguments or the difference between them is within the range of allowed
error (inclusive).
- equalsIncludingNaN(float, float, int) - Static method in class org.apache.commons.numbers.core.Precision
-
- equalsIncludingNaN(double, double) - Static method in class org.apache.commons.numbers.core.Precision
-
Returns true if the arguments are both NaN or they are
equal as defined by
equals(x, y, 1)
.
- equalsIncludingNaN(double, double, double) - Static method in class org.apache.commons.numbers.core.Precision
-
Returns true if the arguments are both NaN, there are no double value strictly
between the arguments or the difference between them is within the range of allowed
error (inclusive).
- equalsIncludingNaN(double, double, int) - Static method in class org.apache.commons.numbers.core.Precision
-
- equalsWithRelativeTolerance(double, double, double) - Static method in class org.apache.commons.numbers.core.Precision
-
Returns true
if there is no double value strictly between the
arguments or the relative difference between them is less than or equal
to the given tolerance.
- eqZero(double) - Method in interface org.apache.commons.numbers.core.Precision.DoubleEquivalence
-
Indicates whether the given value is considered equal to zero.