machine epsilon
The gap between 1.0 and the next float above it - about 1.2 * 10^-7 for float and 2.2 * 10^-16 for double.
Machine epsilon is ulp(1) = 2^(1 - p), returned by std::numeric_limits
Examples
For
double, machine epsilon is 2⁻⁵², about 2.22 × 10⁻¹⁶.
See also