Dave Brosius (JIRA)
2016-05-20 11:00:17 UTC
[ https://issues.apache.org/jira/browse/XALANJ-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293178#comment-15293178 ]
Dave Brosius commented on XALANJ-2346:
--------------------------------------
heh!
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-***@xalan.apache.org
For additional commands, e-mail: dev-***@xalan.apache.org
Dave Brosius commented on XALANJ-2346:
--------------------------------------
heh!
[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))
---------------------------------------
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-***@xalan.apache.org
For additional commands, e-mail: dev-***@xalan.apache.org