Constant NAN

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

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

Examples

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

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