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

John Wagenleitner closed GROOVY-4906.
-------------------------------------
    Resolution: Duplicate

Closing this since GROOVY-3309 covers this open issue.  If I'm mistaken let me 
know and I can re-open.

> 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
>             Fix For: 3.0
>
>
> 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.4#6332)

Reply via email to