Expand description
Constants for the f32
single-precision floating point type.
See also the f32
primitive type.
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 f32
type.
Modules§
- Basic mathematical constants.
Constants§
- DIGITSDeprecation plannedApproximate number of significant digits in base 10. Use
f32::DIGITS
instead. - EPSILONDeprecation planned
- INFINITYDeprecation plannedInfinity (∞). Use
f32::INFINITY
instead. - MANTISSA_DIGITSDeprecation plannedNumber of significant digits in base 2. Use
f32::MANTISSA_DIGITS
instead. - MAXDeprecation plannedLargest finite
f32
value. Usef32::MAX
instead. - MAX_10_EXPDeprecation plannedMaximum possible power of 10 exponent. Use
f32::MAX_10_EXP
instead. - MAX_EXPDeprecation plannedMaximum possible power of 2 exponent. Use
f32::MAX_EXP
instead. - MINDeprecation plannedSmallest finite
f32
value. Usef32::MIN
instead. - MIN_10_EXPDeprecation plannedMinimum possible normal power of 10 exponent. Use
f32::MIN_10_EXP
instead. - MIN_EXPDeprecation plannedOne greater than the minimum possible normal power of 2 exponent. Use
f32::MIN_EXP
instead. - MIN_POSITIVEDeprecation plannedSmallest positive normal
f32
value. Usef32::MIN_POSITIVE
instead. - NANDeprecation plannedNot a Number (NaN). Use
f32::NAN
instead. - NEG_INFINITYDeprecation plannedNegative infinity (−∞). Use
f32::NEG_INFINITY
instead. - RADIXDeprecation plannedThe radix or base of the internal representation of
f32
. Usef32::RADIX
instead.