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 MathUtils.sign(NaN) returns -1 instead of NaN Summary: MathUtils.sign(NaN) returns -1 instead of NaN Product: Commons Version: unspecified Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Enhancement Priority: Other Component: Math AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Class org.apache.commons.math.util.MathUtils, functions sign(double x) and sign(float x) The behavior when x == NaN is not specified in the API explicitly, so this is not really a bug. I think these functions should return NaN when x == NaN. In fact, they return -1. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
