Constant std::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 MAX_EXP associated constant on f64
Expand description

2 指数的最大可能乘方。 请改用 f64::MAX_EXP

Examples

// 弃用的方式
let max = std::f64::MAX_EXP;

// 预期的方式
let max = f64::MAX_EXP;
Run