pitrou commented on issue #22806:
URL: https://github.com/apache/arrow/issues/22806#issuecomment-1511196001

   > Half [seems pretty 
complete](https://half.sourceforge.net/namespacehalf__float.html) so I think it 
or [FP16](https://github.com/Maratyszcza/FP16) would make good candidates.
   
   Both look rather unmaintained. We could decide to maintain a fork in the 
source tree, but this would need assessing their technical quality as well.
   
   Something as simple as 
https://github.com/Maratyszcza/FP16/blob/0a92994d729ff76a58f692d3028ca1b64b145d91/include/fp16/bitcasts.h#L30-L34
 is undefined behaviour:
   > It is undefined behavior to read from the member of the union that wasn't 
most recently written.
   
   (from https://en.cppreference.com/w/cpp/language/union)
   


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