You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/02/14 17:41:00 UTC

[jira] [Created] (ARROW-7860) [C++] Support cast to/from halffloat

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)