Constant INFINITY
Deprecated since 1.99.0: replaced by the `INFINITY` associated constant on `f32`
pub const INFINITY: f32 = +Inf_f32;
Infinity (∞).
Use f32::INFINITY instead.
Examples
// deprecated way
#
let inf = INFINITY;
// intended way
let inf = f32INFINITY;