MAX

Constant MAX 

1.0.0
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;