Hi,

Attached is a small patch to java.lang.Math to make round(float) and
round(double) do the right thing for NaN.

Style wise, is it a good idea to use "a != a" to test for NaN, or should
Double.isNaN() be used?

Regards,
Jeroen

Attachment: math.patch
Description: math.patch

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to