pub const MAX: f32 = f32::MAX; // 3.40282347E+38f32
👎Deprecating in a future version: replaced by the MAX associated constant on f32
Available on non-crate feature miri-test-libstd only.
Expand description

Largest finite f32 value. Use f32::MAX instead.

§Examples

// deprecated way
let max = std::f32::MAX;

// intended way
let max = f32::MAX;