Neal Richardson created ARROW-13801:
---------------------------------------
Summary: [C++] Can divide (optionally?) return Inf when dividing
by integer 0?
Key: ARROW-13801
URL: https://issues.apache.org/jira/browse/ARROW-13801
Project: Apache Arrow
Issue Type: New Feature
Components: R
Reporter: Neal Richardson
Fix For: 6.0.0
See also ARROW-13800. In R, both integer and float division by 0 results in
Inf. Maybe that only makes sense because of how R finesses the difference
between integer and float. But it would be nice if there were a way to achieve
this behavior instead of failing with an error. (Or maybe that's the behavior
we support: if you get an error, cast to float and retry?)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)