Settings
Help

NEG_INFINITY

Constant NEG_INFINITY 

1.6.0 Β· Source
pub const NEG_INFINITY: f64 = f64::NEG_INFINITY; // -Inf_f64
πŸ‘ŽDeprecating in a future version: replaced by the NEG_INFINITY associated constant on f64
Available on non-crate feature ferrocene_certified 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;