Constant EPSILON

Deprecated since 1.99.0: replaced by the `EPSILON` associated constant on `f32`
pub const EPSILON: f32 = 1.1920929E-7f32;

Machine epsilon value for f32. Use f32::EPSILON instead.

This is the difference between 1.0 and the next larger representable number.

Examples

// deprecated way
# #[allow(deprecated)]
let e = std::f32::EPSILON;

// intended way
let e = f32::EPSILON;