Constant core::f32::MIN

1.0.0 · source · []
pub const MIN: f32 = f32::MIN; // -3.40282347E+38f32
👎 Deprecating in a future Rust version:

replaced by the MIN associated constant on f32

Expand description

Smallest finite f32 value. Use f32::MIN instead.

Examples

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

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