EPSILON in std::f64 - Rust
Description: Machine epsilon value for `f64`. Use [`f64::EPSILON`] instead.
Keywords: rust, rustlang, rust-lang, EPSILON

# Constant std::f64::EPSILON
1.0.0[−][src]

    pub const EPSILON: f64 = f64::EPSILON; // 2.2204460492503131E-16f64

👎 Deprecating in a future Rust version:

replaced by the `EPSILON` associated constant on `f64`

Machine epsilon value for `f64`. Use `f64::EPSILON` instead.

This is the difference between `1.0` and the next larger representable number.

# Examples

    // deprecated way
    let e = std::f64::EPSILON;

    // intended way
    let e = f64::EPSILON;

Run