Constant core::f32::MIN_EXP

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

One greater than the minimum possible normal power of 2 exponent. Use f32::MIN_EXP instead.

Examples

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

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