You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ian Cook (Jira)" <ji...@apache.org> on 2021/05/11 21:26:00 UTC

[jira] [Created] (ARROW-12744) [C++] Add rounding kernel

Ian Cook created ARROW-12744:
--------------------------------

             Summary: [C++] Add rounding kernel
                 Key: ARROW-12744
                 URL: https://issues.apache.org/jira/browse/ARROW-12744
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Ian Cook


Kernel to round an array of floating point numbers. Should return an array of the same type as the input. Should have an option to control how many digits after the decimal point (default value 0 meaning round to the nearest integer).

Midpoint values (e.g. 0.5 rounded to nearest integer) should round away from zero (up for positive numbers, down for negative numbers).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)