std::f64

Constant MAX_10_EXP

1.0.0 · Source
pub const MAX_10_EXP: i32 = f64::MAX_10_EXP; // 308i32
👎Deprecating in a future version: replaced by the MAX_10_EXP associated constant on f64
Expand description

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

§Examples

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

// intended way
let max = f64::MAX_10_EXP;