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§
- consts
- Basic mathematical constants.
- math
Experimental - Experimental implementations of floating point functions in
core.
Constants§
- DIGITS
Deprecated - Approximate number of significant digits in base 10.
Use
f32::DIGITSinstead. - EPSILON
Deprecated - Machine epsilon value for
f32. Usef32::EPSILONinstead. - INFINITY
Deprecated - Infinity (∞).
Use
f32::INFINITYinstead. - MANTISSA_
DIGITS Deprecated - Number of significant digits in base 2.
Use
f32::MANTISSA_DIGITSinstead. - MAX
Deprecated - Largest finite
f32value. Usef32::MAXinstead. - MAX_
10_ EXP Deprecated - Maximum possible power of 10 exponent.
Use
f32::MAX_10_EXPinstead. - MAX_EXP
Deprecated - Maximum possible power of 2 exponent.
Use
f32::MAX_EXPinstead. - MIN
Deprecated - Smallest finite
f32value. Usef32::MINinstead. - MIN_
10_ EXP Deprecated - Minimum possible normal power of 10 exponent.
Use
f32::MIN_10_EXPinstead. - MIN_EXP
Deprecated - One greater than the minimum possible normal power of 2 exponent.
Use
f32::MIN_EXPinstead. - MIN_
POSITIVE Deprecated - Smallest positive normal
f32value. Usef32::MIN_POSITIVEinstead. - NAN
Deprecated - Not a Number (NaN).
Use
f32::NANinstead. - NEG_
INFINITY Deprecated - Negative infinity (−∞).
Use
f32::NEG_INFINITYinstead. - RADIX
Deprecated - The radix or base of the internal representation of
f32. Usef32::RADIXinstead.