Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
Description
In trying to do ARROW-7753 I realized I couldn't make a halffloat. I tried creating a float64 (as R does naturally) and casting to float16, but it's not implemented. Looking at compute/kernels/cast.cc, and the associated source in compute/kernels/generated/codegen.py, FLOATING_TYPES = ['Float', 'Double']. Maybe halffloat just needs to be added there?
Aside: searching through the code, it seems that this limitation of float types to float32 and float64 is the norm.