A DESCRIPTION OF THE PROBLEM :
The description for Math.ulp(float/double) and StrictMath.ulp(float/double) doesn't tell us what ulp stands for, i.e. "unit in the last place".
This is not a big deal, and the information is in fact available in the description of the Math class (though it's not even mentioned elsewhere in StrictMath), but it represents a slight inconsistency with the description of BigDecimal.ulp(), which does tell us what it stands for.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Returns the size of an ulp, a unit in the last place, of the argument.
ACTUAL -
Returns the size of an ulp of the argument.
URL OF FAULTY DOCUMENTATION :
http://download.java.net/jdk7/docs/api/java/lang/Math.html#ulp(double)
The description for Math.ulp(float/double) and StrictMath.ulp(float/double) doesn't tell us what ulp stands for, i.e. "unit in the last place".
This is not a big deal, and the information is in fact available in the description of the Math class (though it's not even mentioned elsewhere in StrictMath), but it represents a slight inconsistency with the description of BigDecimal.ulp(), which does tell us what it stands for.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Returns the size of an ulp, a unit in the last place, of the argument.
ACTUAL -
Returns the size of an ulp of the argument.
URL OF FAULTY DOCUMENTATION :
http://download.java.net/jdk7/docs/api/java/lang/Math.html#ulp(double)