Ian Cook created ARROW-16762:
--------------------------------
Summary: [C++] Implement saturation arithmetic kernels
Key: ARROW-16762
URL: https://issues.apache.org/jira/browse/ARROW-16762
Project: Apache Arrow
Issue Type: New Feature
Components: C++
Reporter: Ian Cook
The Arrow C++ library currently lacks saturation arithmetic kernels. I do not
think it is especially important to add them, but I am curious how
straightforward it might be. For example could they be implemented by extending
the {{_checked}} arithmetic kernels to include an option to emit the min/max of
the type when overflow is detected (in each position of the array)?
--
This message was sent by Atlassian Jira
(v8.20.7#820007)