You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/05/21 21:17:13 UTC
[jira] [Updated] (XALANJ-2346) [PATCH] Fixes for faulty NaN
handling
[ 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: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org