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

Paul King updated GROOVY-4906:
------------------------------
    Fix Version/s:     (was: 3.0.0-alpha-1)

> Double.NaN == Double.Nan should evaluate to false
> -------------------------------------------------
>
>                 Key: GROOVY-4906
>                 URL: https://issues.apache.org/jira/browse/GROOVY-4906
>             Project: Groovy
>          Issue Type: Bug
>          Components: groovy-runtime
>            Reporter: Hamlet D'Arcy
>            Priority: Minor
>
> I think Double.NaN == Double.NaN should evaluate to false. 
> The reasons why are documented in the Java Language Specification. 
> IMO, we should stick with the JLS on this issue and not dispatch to the 
> .equals method (or whatever GroovyTruth is doing). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to