3.5. __nv_acoshf

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

Returns

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

  • __nv_acoshf(1) returns 0.

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