Constant NAN

Deprecated since 1.99.0: replaced by the `NAN` associated constant on `f64`
pub const NAN: f64 = NaN_f64;

Not a Number (NaN). Use f64::NAN instead.

Examples

// deprecated way
# #[allow(deprecated)]
let nan = std::f64::NAN;

// intended way
let nan = f64::NAN;