Constant core::f32::MAX_10_EXP

1.0.0· source · []
pub const MAX_10_EXP: i32 = f32::MAX_10_EXP; // 38i32
👎 Deprecating in a future Rust version:

replaced by the MAX_10_EXP associated constant on f32

Expand description

Maximum possible power of 10 exponent. Use f32::MAX_10_EXP instead.

Examples

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

// intended way
let max = f32::MAX_10_EXP;
Run