[
https://issues.apache.org/jira/browse/ARROW-12744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17370645#comment-17370645
]
Eduardo Ponce commented on ARROW-12744:
---------------------------------------
The current PR includes both variants, *round(x, ndigits)* and *round(x,
multiple)*.
> [C++][Compute] 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
> Assignee: Eduardo Ponce
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> 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)