dinse opened a new pull request, #46829:
URL: https://github.com/apache/arrow/pull/46829

   ### Rationale for this change
   
   is_nan support was requested for float16s. That functionality along with 
some others was available in float16.h, so I made them available to compute.
   
   ### What changes are included in this PR?
   
   is_nan, is_inf, is_finite, negate, and sign operators updated to support 
float16. I am fairly new to the codebase so please let me know if there's a 
cleaner way of doing things than checking for uint16 and casting.
   
   ### Are these changes tested?
   
   Yes, with unit tests and interactively.
   
   ### Are there any user-facing changes?
   
   Calling is_nan, is_inf, is_finite, negate, or sign on float16 scalars or 
arrays should now work instead of failing with NotImplementedError.


-- 
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