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

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

    [ https://issues.apache.org/jira/browse/ARROW-7860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17037144#comment-17037144 ] 

Antoine Pitrou commented on ARROW-7860:
---------------------------------------

There's already ARROW-3802 and ARROW-6436

> [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
>            Priority: Major
>             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)