Constant NEG_INFINITY

Deprecated since 1.99.0: replaced by the `NEG_INFINITY` associated constant on `f32`
pub const NEG_INFINITY: f32 = -Inf_f32;

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

Examples

// deprecated way
# #[allow(deprecated)]
let ninf = std::f32::NEG_INFINITY;

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