Skip to content

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

@asfimport

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions