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

pub const INFINITY: f64 = f64::INFINITY; // +Inff64

Infinity (∞). Use f64::INFINITY instead.

Examples

// deprecated way
let inf = std::f64::INFINITY;

// intended way
let inf = f64::INFINITY;
Run