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. Usef32::DIGITSinstead.
- EPSILONDeprecation planned
- INFINITYDeprecation plannedInfinity (∞). Usef32::INFINITYinstead.
- MANTISSA_DIGITSDeprecation plannedNumber of significant digits in base 2. Usef32::MANTISSA_DIGITSinstead.
- MAXDeprecation plannedLargest finitef32value. Usef32::MAXinstead.
- MAX_10_EXPDeprecation plannedMaximum possible power of 10 exponent. Usef32::MAX_10_EXPinstead.
- MAX_EXPDeprecation plannedMaximum possible power of 2 exponent. Usef32::MAX_EXPinstead.
- MINDeprecation plannedSmallest finitef32value. Usef32::MINinstead.
- MIN_10_EXPDeprecation plannedMinimum possible normal power of 10 exponent. Usef32::MIN_10_EXPinstead.
- MIN_EXPDeprecation plannedOne greater than the minimum possible normal power of 2 exponent. Usef32::MIN_EXPinstead.
- MIN_POSITIVEDeprecation plannedSmallest positive normalf32value. Usef32::MIN_POSITIVEinstead.
- NANDeprecation plannedNot a Number (NaN). Usef32::NANinstead.
- NEG_INFINITYDeprecation plannedNegative infinity (−∞). Usef32::NEG_INFINITYinstead.
- RADIXDeprecation plannedThe radix or base of the internal representation off32. Usef32::RADIXinstead.