westonpace opened a new issue, #33990:
URL: https://github.com/apache/arrow/issues/33990

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   I'm pretty sure of this but wanted a sanity test.  Also, should 
`literal(quiet_NAN) == literal(signaling_NAN)`? My intuition is "no".
   
   Or...more concretely...should these test cases pass?
   
   ```
     // This currently fails
     EXPECT_EQ(literal(std::numeric_limits<double>::quiet_NaN()),
               literal(std::numeric_limits<double>::quiet_NaN()));
     // These currently pass
     EXPECT_NE(literal(std::numeric_limits<double>::quiet_NaN()),
               literal(std::numeric_limits<double>::signaling_NaN()));
     EXPECT_NE(literal(std::numeric_limits<double>::quiet_NaN()),
               literal(std::numeric_limits<float>::quiet_NaN()));
   ```
   
   If the answer is "yes, those two expressions are equivalent" then I can fix 
it in #15180 .  I already have a fix but wanted to confirm my understanding.
   
   ### Component(s)
   
   C++


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to