[ 
https://issues.apache.org/jira/browse/GROOVY-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18149450#comment-18149450
 ] 

ASF GitHub Bot commented on GROOVY-3309:
----------------------------------------

testlens-app[bot] commented on PR #3334:
URL: https://github.com/apache/groovy/pull/3334#issuecomment-7087995390

   ## ✅ All tests passed ✅
   
   🏷️ Commit: 385b8de344449166eb21305bfb11b27885da9284
   ▶️ Tests:  133257 executed
   ⚪️ Checks: 27/27 completed
   
   ---
   _Learn more about TestLens at 
[testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   




> comparisons with NaN should always return false
> -----------------------------------------------
>
>                 Key: GROOVY-3309
>                 URL: https://issues.apache.org/jira/browse/GROOVY-3309
>             Project: Groovy
>          Issue Type: Bug
>          Components: groovy-runtime
>    Affects Versions: 1.5.7, 1.6-rc-2
>         Environment: os x, jse 5 and 6
>            Reporter: Andy Fyfe
>            Assignee: Daniel Sun
>            Priority: Major
>             Fix For: 4.x
>
>
> The following assertions should all pass; the third fails.
> {code}
> assert !(Double.NaN == 0)
> assert !(Double.NaN < 0)
> assert !(Double.NaN > 0)
> {code}
> A NaN should also not equal a NaN.
> {code}assert Double.NaN != Double.NaN{code}



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to