Smallest double such that 1.
Smallest double such that 1.0 + EPSILON != 1.0, slightly above 2^-53. Also, known as the "machine epsilon".
https://issues.scala-lang.org/browse/SI-3791
Largest exponent a finite double variable may have.
Largest positive finite value of type double, 2^1023
Smallest exponent a normalized double variable may have.
Smallest positive normal value of type double, 2^-1022 (retains full precision). Also, the smallest double such that 1.0 / SAFE_MIN does not overflow.
Smallest positive nonzero value of type double, 2^-1074 (minimal precision).
Default tolerance should be much larger than the "machine epsilon".
Default tolerance should be much larger than the "machine epsilon". Application dependent => redefine as needed per application.
Return true if x == y approximately, i.
Return true if x == y approximately, i.e., the difference is less than TOL.
the first value to compare
the second value to compare
The
ExtremeD
object contains constants representing extreme values for Double (IEEE 754 double precision floating point numbers).en.wikipedia.org/wiki/Double-precision_floating-point_format