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.
Constants§
- DIGITS
Deprecation planned - Approximate number of significant digits in base 10.
Use
f32::DIGITSinstead. - EPSILON
Deprecation planned - Machine epsilon value for
f32. Usef32::EPSILONinstead. - INFINITY
Deprecation planned - Infinity (∞).
Use
f32::INFINITYinstead. - MANTISSA_
DIGITS Deprecation planned - Number of significant digits in base 2.
Use
f32::MANTISSA_DIGITSinstead. - MAX
Deprecation planned - Largest finite
f32value. Usef32::MAXinstead. - MAX_
10_ EXP Deprecation planned - Maximum possible power of 10 exponent.
Use
f32::MAX_10_EXPinstead. - MAX_EXP
Deprecation planned - Maximum possible power of 2 exponent.
Use
f32::MAX_EXPinstead. - MIN
Deprecation planned - Smallest finite
f32value. Usef32::MINinstead. - MIN_
10_ EXP Deprecation planned - Minimum possible normal power of 10 exponent.
Use
f32::MIN_10_EXPinstead. - MIN_EXP
Deprecation planned - One greater than the minimum possible normal power of 2 exponent.
Use
f32::MIN_EXPinstead. - MIN_
POSITIVE Deprecation planned - Smallest positive normal
f32value. Usef32::MIN_POSITIVEinstead. - NAN
Deprecation planned - Not a Number (NaN).
Use
f32::NANinstead. - NEG_
INFINITY Deprecation planned - Negative infinity (−∞).
Use
f32::NEG_INFINITYinstead. - RADIX
Deprecation planned - The radix or base of the internal representation of
f32. Usef32::RADIXinstead.
Functions§
- abs_sub
Deprecated - Experimental version of
abs_subincore. Seef32::abs_subfor details. - cbrt
Experimental - Experimental version of
cbrtincore. Seef32::cbrtfor details. - ceil
Experimental - Experimental version of
ceilincore. Seef32::ceilfor details. - div_
euclid Experimental - Experimental version of
div_euclidincore. Seef32::div_euclidfor details. - floor
Experimental - Experimental version of
floorincore. Seef32::floorfor details. - fract
Experimental - Experimental version of
fractincore. Seef32::fractfor details. - mul_add
Experimental - Experimental version of
mul_addincore. Seef32::mul_addfor details. - powi
Experimental - Experimental version of
powiincore. Seef32::powifor details. - rem_
euclid Experimental - Experimental version of
rem_euclidincore. Seef32::rem_euclidfor details. - round
Experimental - Experimental version of
roundincore. Seef32::roundfor details. - round_
ties_ even Experimental - Experimental version of
round_ties_evenincore. Seef32::round_ties_evenfor details. - sqrt
Experimental - Experimental version of
sqrtincore. Seef32::sqrtfor details. - trunc
Experimental - Experimental version of
truncincore. Seef32::truncfor details.