3.13. __nv_atanf

float @__nv_atanf(float %x)

Calculate the arc tangent of the input argument.

Calculate the principal value of the arc 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

Result will be in radians, in the interval [- \(\pi\) /2, + \(\pi\) /2].

  • __nv_atan(0) returns +0.