Skip to content

[C++][Compute] Add floor, ceiling, and truncate kernels #28487

@asfimport

Description

@asfimport

Kernels to round each value in an array of floating point numbers to:

  • the nearest integer less than or equal to it (floor)

  • the nearest integer greater than or equal to it (ceiling)

  • the integral part without fraction digits

    Should return an array of the same type as the input (not an integer type)

Reporter: Ian Cook / @ianmcook
Assignee: Eduardo Ponce / @edponce

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-12745. 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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions