metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickwallen <...@git.apache.org>
Subject [GitHub] metron issue #681: METRON-1079 Add NaN as a keyword in STELLAR language
Date Tue, 15 Aug 2017 15:45:01 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message