public static double ulp (double d)

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:

Parameters:
d    the floating-point value whose ulp is to be returned

Returns:  the size of an ulp of the argument

Since:  1.5