wForget opened a new pull request, #7159:
URL: https://github.com/apache/arrow-rs/pull/7159

   # Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and 
enhancements and this helps us generate change logs for our releases. You can 
link an issue to this PR using the GitHub syntax. For example `Closes #123` 
indicates that this PR will close issue #123.
   -->
   
   Closes #7158.
   
   # Rationale for this change
   
   The `div/rem` operations may also overflow, so I want to add 
`div_wrapping/rem_wrapping` operations to wrapping on overflow. Make it 
consistent with the logic of `add/sub/mul` so that we can implement 
`fail_on_overflow` feature for `div/rem` in downstream `datafusion`. 
   
   # What changes are included in this PR?
   
   add `div_wrapping/rem_wrapping` functions
   
   # Are there any user-facing changes?
   
   yes, newly added `div_wrapping/rem_wrapping` functions
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to