Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13801

[C++] Can divide (optionally?) return Inf when dividing by integer 0?

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • R

    Description

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              npr Neal Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: