core::f64

Constant MIN_POSITIVE

1.6.0 · Source
pub const MIN_POSITIVE: f64 = f64::MIN_POSITIVE; // 2.2250738585072014E-308f64
👎Deprecating in a future version: replaced by the MIN_POSITIVE associated constant on f64
Expand description

Smallest positive normal f64 value. Use f64::MIN_POSITIVE instead.

§Examples

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

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