[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Updated: (XMLBEANS-361) invalid NaN comparisons
From:       "Jacob Danner (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2008-02-21 3:35:43
Message-ID: 1527585184.1203564943589.JavaMail.jira () brutus
[Download RAW message or body]


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

Jacob Danner updated XMLBEANS-361:
----------------------------------

    Attachment: xmlbeans361_patch.txt

Thanks Jim. I'm attaching a quick patch for other users.

> invalid NaN comparisons
> -----------------------
> 
> Key: XMLBEANS-361
> URL: https://issues.apache.org/jira/browse/XMLBEANS-361
> Project: XMLBeans
> Issue Type: Bug
> Affects Versions:  Version 2.3
> Reporter: Jim Apple
> Priority: Minor
> Attachments: xmlbeans361_patch.txt
> 
> Original Estimate: 0.17h
> Remaining Estimate: 0.17h
> 
> /xmlbeans/trunk/src/typeimpl/org/apache/xmlbeans/impl/util/XsTypeConverter.java
> contains two equality comparisons to NaN (Float.NaN and Double.NaN) at lines 90 and \
> 142. Nothing (not even NaN) compares equal to NaN, so these will always fail. \
> Should call isNaN

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic