Constant core::f32::MIN_POSITIVE

1.0.0 · source · []
pub const MIN_POSITIVE: f32 = f32::MIN_POSITIVE; // 1.17549435E-38f32
👎Deprecating in a future Rust version: replaced by the MIN_POSITIVE associated constant on f32
Expand description

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

Examples

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

// intended way
let min = f32::MIN_POSITIVE;
Run