Constant kvarn::prelude::utils::prelude::compact_str::core::f32::NAN

1.0.0 · source ·
pub const NAN: f32 = f32::NAN; // NaNf32
👎Deprecating in a future Rust version: replaced by the <code>NAN</code> associated constant on <code>f32</code>
Available on non-crate feature miri-test-libstd only.
Expand description

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

Examples

// deprecated way
let nan = std::f32::NAN;

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