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

pub const MAX: f64 = f64::MAX; // 1.7976931348623157E+308f64
👎 Deprecating in a future Rust version:

replaced by the MAX associated constant on f64

Expand description

最大的有限 f64 值。 请改用 f64::MAX

Examples

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

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