Constant std::f32::MAX

1.0.0 · source ·
pub const MAX: f32 = f32::MAX; // 3.40282347E+38f32
👎Deprecating in a future version: replaced by the MAX associated constant on f32
Expand description

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

§Examples

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

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