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

# 1.0.0[−][src]Module std::f64

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

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