Github user nickwallen commented on the issue:

    https://github.com/apache/metron/pull/681
  
    Based on the link that you embedded in the tests, your implementation seems 
correct.  I assume that these grammar rules are well reasoned and necessary, 
but it surely seems counter-intuitive to me for this use case.
    
    > The equality operator == returns false if either operand is NaN. 
    > The inequality operator != returns true if either operand is NaN 
(§15.21.1). 
    > In particular, x!=x is true if and only if x is NaN, and (x<y) == !(x>=y) 
will be false if x or y is NaN.
    
     Am I thinking about this all wrong?  Maybe I just need some lunch to get 
my blood sugar up. :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to