Neal Richardson created ARROW-7860:
--------------------------------------
Summary: [C++] Support cast to/from halffloat
Key: ARROW-7860
URL: https://issues.apache.org/jira/browse/ARROW-7860
Project: Apache Arrow
Issue Type: Improvement
Components: C++, C++ - Compute
Reporter: Neal Richardson
Fix For: 1.0.0
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)