3.4. __nv_acosh

double @__nv_acosh(double %x)

Calculate the nonnegative arc hyperbolic cosine of the input argument.

Calculate the nonnegative arc hyperbolic cosine 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

Result will be in the interval [0, \(+\infty\) ].

  • __nv_acosh(1) returns 0.

  • __nv_acosh(x) returns NaN for x in the interval [ \(-\infty\) , 1).