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/12 14:25:00 UTC
[jira] [Comment Edited] (ARROW-12084) [C++][Compute] Add remainder
and quotient compute::Function
[ https://issues.apache.org/jira/browse/ARROW-12084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17343280#comment-17343280 ]
Ian Cook edited comment on ARROW-12084 at 5/12/21, 2:24 PM:
------------------------------------------------------------
We should also expose {{quotient}} and {{modulo}} compute functions that would presumably use the same code as this but would return only the quotient or only the remainder (ARROW-12755)
was (Author: icook):
We should also expose {{quotient}} and {{modulo}} compute functions that would presumably use the same code as this but would return only the quotient or only the remainder.
> [C++][Compute] Add remainder and quotient compute::Function
> -----------------------------------------------------------
>
> Key: ARROW-12084
> URL: https://issues.apache.org/jira/browse/ARROW-12084
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Ben Kietzman
> Priority: Major
>
> In addition to {{divide}} which returns only the quotient, it'd be useful to have a function which returns both quotient and remainder (these are efficient to compute simultaneously), probably as a {{struct<quotient: T, remainder: T>}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)