Constant MAX

Deprecated since 1.99.0: replaced by the `MAX` associated constant on `f32`
pub const MAX: f32 = 3.40282347E+38f32;

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

Examples

// deprecated way
# #[allow(deprecated)]
let max = std::f32::MAX;

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