Constant std::f64::MIN_POSITIVE

1.0.0 · source · []
pub const MIN_POSITIVE: f64 = f64::MIN_POSITIVE; // 2.2250738585072014E-308f64
👎Deprecating in a future Rust 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;
Run