__device__ double atan ( double  x  ) 

Calculate the principal value of the arc tangent of the input argument x.

Returns:
Result will be in radians, in the interval [-$\pi$/2, +$\pi$/2].
  • atan(0) returns +0.
Note:
For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-2.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA