shrivasshankar opened a new issue, #50197:
URL: https://github.com/apache/arrow/issues/50197
### Describe the enhancement requested
### Describe the enhancement requested
Arrow's compute layer has no hypot kernel, so computing a Euclidean norm
currently requires the verbose and overflow-unsafe sqrt(add(multiply(x, x),
multiply(y, y))) (intermediate squaring can overflow even when the result is
representable). Add a binary hypot kernel computing $\sqrt{x^2 + y^2}$ safely
with std::hypot, matching numpy.hypot, with float32/float64 support and a
pyarrow.compute.hypot binding.
### Component(s)
C++, Python
### Component(s)
C++, Python
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]