Constant kvarn::prelude::utils::prelude::compact_str::core::f64::NEG_INFINITY

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

Negative infinity (−∞). Use f64::NEG_INFINITY instead.

Examples

// deprecated way
let ninf = std::f64::NEG_INFINITY;

// intended way
let ninf = f64::NEG_INFINITY;