pub const NAN: f64 = f64::NAN; // NaNf64
replaced by the NAN associated constant on f64
NAN
f64
Not a Number (NaN). Use f64::NAN instead.
f64::NAN
// deprecated way let nan = std::f64::NAN; // intended way let nan = f64::NAN;