[PATCH] fixes for faulty NaN handling
-------------------------------------

                 Key: XALANJ-2346
                 URL: http://issues.apache.org/jira/browse/XALANJ-2346
             Project: XalanJ2
          Issue Type: Bug
          Components: XSLTC
    Affects Versions: Latest Development Code
            Reporter: Dave Brosius


By definition, NaN is not equal to itself, therefore

if (d == Double.NaN)

will always be false. Changed such instances to

if (Double.isNaN(d))



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to