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

[C++][Compute] Add quotient and modulo kernels

    XMLWordPrintableJSON

Details

    Description

      Add a pair of binary kernels to compute the:

      • quotient (result after division, discarding any fractional part, a.k.a integer division)
      • mod or modulo (remainder after division, a.k.a % / %% / modulus).

      The returned array should have the same data type as the input arrays or promote to an appropriate type to avoid loss of precision if the input types differ.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              icook Ian Cook
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m