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

pub const NEG_INFINITY: f32 = f32::NEG_INFINITY; // -Inff32

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

Examples

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

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