pub const MIN_POSITIVE: f32 = f32::MIN_POSITIVE; // 1.17549435E-38f32
👎Deprecating in a future version: replaced by the MIN_POSITIVE associated constant on f32
Available on non-crate feature miri-test-libstd only.
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;