3.14. __nv_atanh

double @__nv_atanh(double %x)

Calculate the arc hyperbolic tangent of the input argument.

Calculate the arc hyperbolic tangent of the input argument x.

Note

For accuracy information, see the CUDA C++ Programming Guide, Mathematical Functions Appendix, Double-Precision Floating-Point Functions section.

Returns

  • __nv_atanh( \(\pm 0\) ) returns \(\pm 0\).

  • __nv_atanh( \(\pm 1\) ) returns \(\pm \infty\).

  • __nv_atanh(x) returns NaN for x outside interval [-1, 1].