ulp
Computes the size of the unit in the last place (ULP) of the provided double-precision floating-point value. The ULP of a nonzero floating-point value is the positive distance between the given value and the next larger representable value of the same precision.
Return
the size of the unit in the last place of the provided value
Parameters
d
the double value for which the ULP is to be computed