3.15. __nv_atanhf

float @__nv_atanhf(float %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, Single-Precision Floating-Point Functions section.

Returns

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

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

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