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

List:       xmlbeans-dev
Subject:    [jira] Created: (XMLBEANS-361) invalid NaN comparisons
From:       "Jim Apple (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2008-02-20 10:16:43
Message-ID: 378473250.1203502603434.JavaMail.jira () brutus
[Download RAW message or body]

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


/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