Module f64
Constants for the f64 double-precision floating point type.
[See also the f64 primitive type][f64].
Mathematically significant numbers are provided in the consts sub-module.
For the constants defined directly in this module
(as distinct from those defined in the consts sub-module),
new code should instead use the associated constants
defined directly on the f64 type.
Modules
Constants
-
DIGITS
Approximate number of significant digits in base 10.
Use
f64::DIGITSinstead. -
EPSILON
Machine epsilon value for
f64. Usef64::EPSILONinstead. -
INFINITY
Infinity (∞).
Use
f64::INFINITYinstead. -
MANTISSA_DIGITS
Number of significant digits in base 2.
Use
f64::MANTISSA_DIGITSinstead. -
MAX
Largest finite
f64value. Usef64::MAXinstead. -
MAX_10_EXP
Maximum possible power of 10 exponent.
Use
f64::MAX_10_EXPinstead. -
MAX_EXP
Maximum possible power of 2 exponent.
Use
f64::MAX_EXPinstead. -
MIN
Smallest finite
f64value. Usef64::MINinstead. -
MIN_10_EXP
Minimum possible normal power of 10 exponent.
Use
f64::MIN_10_EXPinstead. -
MIN_EXP
One greater than the minimum possible normal power of 2 exponent.
Use
f64::MIN_EXPinstead. -
MIN_POSITIVE
Smallest positive normal
f64value. Usef64::MIN_POSITIVEinstead. -
NAN
Not a Number (NaN).
Use
f64::NANinstead. -
NEG_INFINITY
Negative infinity (−∞).
Use
f64::NEG_INFINITYinstead. -
RADIX
The radix or base of the internal representation of
f64. Usef64::RADIXinstead.