Constant core::f64::MAX

1.0.0 · source ·
pub const MAX: f64 = f64::MAX; // 1.7976931348623157E+308f64
👎Deprecating in a future version: replaced by the MAX associated constant on f64
Expand description

Largest finite f64 value. Use f64::MAX instead.

§Examples

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

// intended way
let max = f64::MAX;
Run