core::f32 - Rust
Description: API documentation for the Rust `f32` mod in crate `core`.
Keywords: rust, rustlang, rust-lang, f32

# 1.0.0[−][src]Module core::f32

This module provides constants which are specific to the implementation of the `f32` floating point data type.

See also the `f32` primitive type.

Mathematically significant numbers are provided in the `consts` sub-module.

Although using these constants won’t cause compilation warnings, new code should use the associated constants directly on the primitive type.

## Modules

consts | Basic mathematical constants.

## Constants

DIGITS | Approximate number of significant digits in base 10. Use `f32::DIGITS` instead.
EPSILON | Machine epsilon value for `f32`. Use `f32::EPSILON` instead.
INFINITY | Infinity (∞). Use `f32::INFINITY` instead.
MANTISSA_DIGITS | Number of significant digits in base 2. Use `f32::MANTISSA_DIGITS` instead.
MAX | Largest finite `f32` value. Use `f32::MAX` instead.
MAX_10_EXP | Maximum possible power of 10 exponent. Use `f32::MAX_10_EXP` instead.
MAX_EXP | Maximum possible power of 2 exponent. Use `f32::MAX_EXP` instead.
MIN | Smallest finite `f32` value. Use `f32::MIN` instead.
MIN_10_EXP | Minimum possible normal power of 10 exponent. Use `f32::MIN_10_EXP` instead.
MIN_EXP | One greater than the minimum possible normal power of 2 exponent. Use `f32::MIN_EXP` instead.
MIN_POSITIVE | Smallest positive normal `f32` value. Use `f32::MIN_POSITIVE` instead.
NAN | Not a Number (NaN). Use `f32::NAN` instead.
NEG_INFINITY | Negative infinity (−∞). Use `f32::NEG_INFINITY` instead.
RADIX | The radix or base of the internal representation of `f32`. Use `f32::RADIX` instead.