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