Skip to content

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

Description

@asfimport

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.

Reporter: Ian Cook / @ianmcook

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-12755. Please see the migration documentation for further details.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions