Prashant Kumar Rai

13%
Flag icon
for float fields, use the static Float.compare(float, float) method; and for double fields, use Double.compare(double, double). The special treatment of float and double fields is made necessary by the existence of Float.NaN, -0.0f and the analogous double values;
Prashant Kumar Rai
Float double
Effective Java
Rate this book
Clear rating
Open Preview