3.12. __nv_atan2f
-
float @__nv_atan2f(float %x, float %y)
Calculate the arc tangent of the ratio of first and second input arguments.
Calculate the principal value of the arc tangent of the ratio of first and second input arguments
x/y. The quadrant of the result is determined by the signs of inputsxandy.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\) /, + \(\pi\) ].
__nv_atan2f(0, 1) returns +0.