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

Neal Richardson commented on ARROW-12084:
-----------------------------------------

We have a bit of hackery in R to effect these with the existing compute kernel: 
https://github.com/apache/arrow/blob/master/r/R/expression.R#L71-L90

Would be great to delete that.

> [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)

Reply via email to