|
From: | Jeroen Frijters |
Subject: | Math patch |
Date: | Thu, 27 Feb 2003 12:05:28 +0100 |
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
math.patch
Description: math.patch
[Prev in Thread] | Current Thread | [Next in Thread] |