Constant std::f32::MAX1.0.0[][src]

pub const MAX: f32 = f32::MAX; // 3.40282347E+38f32
👎 Deprecating in a future Rust 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;
Run