1.0.0[][src]Constant core::f64::NEG_INFINITY

pub const NEG_INFINITY: f64 = f64::NEG_INFINITY; // -Inff64

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

Examples

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

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