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

   ### Describe the enhancement requested
   
   As suggested in [this 
comment](https://github.com/apache/arrow/issues/12681#issuecomment-2490531049), 
it would be useful to add approximate equality helpers for float comparison:
   ```c++
   bool WithinUlp(float left, float right, int n_ulps);
   bool WithinUlp(double left, double right, int n_ulps);
   
   void AssertWithinUlp(float left, float right, int n_ulps);
   void AssertWithinUlp(double left, double right, int n_ulps);
   ```
   
   
   ### 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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to