ulp
The gap between a float and the next one up - one step of its last stored bit. The gap grows as numbers get bigger.
For a normal x with 2^e <= |x| < 2^(e+1), ulp(x) = 2^(e - p + 1) (p = 24 for binary32, 53 for binary64); correct rounding to nearest keeps the error within half an ulp.
Examples
Between
1.0fand the nextfloatthe gap is 2⁻²³, about 1.19 × 10⁻⁷.
See also