Constant kvarn::prelude::fs::prelude::utils::prelude::compact_str::core::f64::MAX_EXP

1.0.0 · source ·
pub const MAX_EXP: i32 = f64::MAX_EXP; // 1_024i32
👎Deprecating in a future Rust version: replaced by the <code>MAX_EXP</code> associated constant on <code>f64</code>
Available on non-crate feature miri-test-libstd only.
Expand description

Maximum possible power of 2 exponent. Use f64::MAX_EXP instead.

Examples

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

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