MIN in std::f64 - Rust (original) (raw)

std::f64

Constant MIN

1.0.0 · Source

pub const MIN: f64 = f64::MIN; // -1.7976931348623157E+308f64

👎Deprecating in a future version: replaced by the MIN associated constant on f64

Expand description

Smallest finite f64 value. Use f64::MIN instead.

§Examples

// deprecated way
let min = std::f64::MIN;

// intended way
let min = f64::MIN;