Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
Description
The sign function implementation for unsigned integers returns the result of a boolean expression because when casted to an integer it corresponds to the expected value (0 or 1). To make the function more clear, we should be explicit with the return values similar to the other sign kernels.
Attachments
Issue Links
- is part of
-
ARROW-12861 [C++][Compute] Add sign function kernels
- Resolved
- links to