1.0.0[][src]Constant std::f32::INFINITY

pub const INFINITY: f32 = f32::INFINITY; // +Inff32

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

Examples

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

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