DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24962>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24962

[math] MathUtils.sign(NaN) returns -1 instead of NaN





------- Additional Comments From [EMAIL PROTECTED]  2004-01-26 18:57 -------
I'm not sure if this was completed? 

In conclusion I think we came to the following

public double sign(double d);
+1 : d > 0
0  : d = 0
-1 : d < 0

public double indicator(double d);
+1 : d >= 0
-1 : d < 0

Change The Complex implementation to use indicator instead of sign. In both
cases return NaN id d = NaN.

-Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to