Returns the size of an ulp of the argument. An ulp, unit in
the last place, of a float
value is the positive
distance between this floating-point value and the
float
value next larger in magnitude. Note that for non-NaN
x, ulp(-x) == ulp(x)
.
Special Cases:
Float.MIN_VALUE
.
Float.MAX_VALUE
, then
the result is equal to 2104.
f | the floating-point value whose ulp is to be returned |
Diagram: Math