|
__device__ double atan2 |
( |
double |
x, |
|
|
double |
y | |
|
) |
| | |
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 inputs x and y .
- Returns:
- Result will be in radians, in the interval [-
/, + ].
- Note:
- For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-2.
|