[ 
https://issues.apache.org/jira/browse/XALANJ-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Gregory updated XALANJ-2346:
---------------------------------
    Summary: [PATCH] Fixes for faulty NaN handling  (was: [PATCH] fixes for 
faulty NaN handling)

> [PATCH] Fixes for faulty NaN handling
> -------------------------------------
>
>                 Key: XALANJ-2346
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2346
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: XSLTC
>    Affects Versions: 2.7.1
>            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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to