zanmato1984 commented on code in PR #44904:
URL: https://github.com/apache/arrow/pull/44904#discussion_r1866231155
##########
cpp/src/arrow/compute/kernels/scalar_arithmetic.cc:
##########
@@ -1087,6 +1087,12 @@ const FunctionDoc exp_doc{
("If exponent is null the result will be null."),
{"exponent"}};
+const FunctionDoc expm1_doc{
+ "Compute Euler's number raised to the power of specified exponent, "
+ "then decrement 1, element-wise",
+ ("If exponent is null the result will be null."),
+ {"exponent"}};
Review Comment:
Shall we mention that "this is more accurate than directly computing
`exp(value) - 1`" in the function doc?
--
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]