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::DIGITS
instead. - EPSILON
Deprecation planned - Machine epsilon value for
f32
. Usef32::EPSILON
instead. - INFINITY
Deprecation planned - Infinity (∞).
Use
f32::INFINITY
instead. - MANTISSA_
DIGITS Deprecation planned - Number of significant digits in base 2.
Use
f32::MANTISSA_DIGITS
instead. - MAX
Deprecation planned - Largest finite
f32
value. Usef32::MAX
instead. - MAX_
10_ EXP Deprecation planned - Maximum possible power of 10 exponent.
Use
f32::MAX_10_EXP
instead. - MAX_EXP
Deprecation planned - Maximum possible power of 2 exponent.
Use
f32::MAX_EXP
instead. - MIN
Deprecation planned - Smallest finite
f32
value. Usef32::MIN
instead. - MIN_
10_ EXP Deprecation planned - Minimum possible normal power of 10 exponent.
Use
f32::MIN_10_EXP
instead. - MIN_EXP
Deprecation planned - One greater than the minimum possible normal power of 2 exponent.
Use
f32::MIN_EXP
instead. - MIN_
POSITIVE Deprecation planned - Smallest positive normal
f32
value. Usef32::MIN_POSITIVE
instead. - NAN
Deprecation planned - Not a Number (NaN).
Use
f32::NAN
instead. - NEG_
INFINITY Deprecation planned - Negative infinity (−∞).
Use
f32::NEG_INFINITY
instead. - RADIX
Deprecation planned - The radix or base of the internal representation of
f32
. Usef32::RADIX
instead.
Functions§
- abs_sub
Deprecated - Experimental version of
abs_sub
incore
. Seef32::abs_sub
for details. - cbrt
Experimental - Experimental version of
cbrt
incore
. Seef32::cbrt
for details. - ceil
Experimental - Experimental version of
ceil
incore
. Seef32::ceil
for details. - div_
euclid Experimental - Experimental version of
div_euclid
incore
. Seef32::div_euclid
for details. - floor
Experimental - Experimental version of
floor
incore
. Seef32::floor
for details. - fract
Experimental - Experimental version of
fract
incore
. Seef32::fract
for details. - mul_add
Experimental - Experimental version of
mul_add
incore
. Seef32::mul_add
for details. - powi
Experimental - Experimental version of
powi
incore
. Seef32::powi
for details. - rem_
euclid Experimental - Experimental version of
rem_euclid
incore
. Seef32::rem_euclid
for details. - round
Experimental - Experimental version of
round
incore
. Seef32::round
for details. - round_
ties_ even Experimental - Experimental version of
round_ties_even
incore
. Seef32::round_ties_even
for details. - sqrt
Experimental - Experimental version of
sqrt
incore
. Seef32::sqrt
for details. - trunc
Experimental - Experimental version of
trunc
incore
. Seef32::trunc
for details.