Looking at Math class, the ulp
method:
public static float ulp(float f)
If the method is applied like: Math.ulp(Float.MAX_VALUE)
, then this rule from the Javadoc documentation comes up:
If the argument is ±Float.MAX_VALUE, then the result is equal to 2104.
Can it be ensured from machine to machine that this number (2104) will always be that one even if the float is not strictfp?