edponce opened a new pull request #10395: URL: https://github.com/apache/arrow/pull/10395
This PR adds the sign function to the compute layer as a unary scalar function registered as "sign". The implementations results depend on the input type: * Floating-points: sign(x) = [-1,1] * Signed integrals: sign(x) = [-1,0,1] * Unsigned integrals: sign(x) = [0,1] -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
