You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Dave Brosius (JIRA)" <xa...@xml.apache.org> on 2006/11/25 04:43:03 UTC

[jira] Commented: (XALANJ-2346) [PATCH] fixes for faulty NaN handling

    [ http://issues.apache.org/jira/browse/XALANJ-2346?page=comments#action_12452555 ] 
            
Dave Brosius commented on XALANJ-2346:
--------------------------------------

Oops, forgot to set the Priority, sorry

> [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
>         Attachments: bad_nan.diff
>
>
> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org