Module std::f32
Constants specific to 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
Approximate number of significant digits in base 10. Use f32::DIGITS
instead.
Machine epsilon value for f32
. Use f32::EPSILON
instead.
Infinity (∞). Use f32::INFINITY
instead.
Number of significant digits in base 2. Use f32::MANTISSA_DIGITS
instead.
Largest finite f32
value. Use f32::MAX
instead.
Maximum possible power of 10 exponent. Use f32::MAX_10_EXP
instead.
Maximum possible power of 2 exponent. Use f32::MAX_EXP
instead.
Smallest finite f32
value. Use f32::MIN
instead.
Minimum possible normal power of 10 exponent. Use f32::MIN_10_EXP
instead.
One greater than the minimum possible normal power of 2 exponent. Use f32::MIN_EXP
instead.
Smallest positive normal f32
value. Use f32::MIN_POSITIVE
instead.
Not a Number (NaN). Use f32::NAN
instead.
Negative infinity (−∞). Use f32::NEG_INFINITY
instead.
The radix or base of the internal representation of f32
. Use f32::RADIX
instead.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/f32/index.html