c++中atan2函数
C ++ atan2()函数 (C++ atan2() function)
atan2() function is a library function of cmath header, it is used to find the principal value of the arc tangent of y/x, where y is the proportion of the y-coordinate and x is the proportion of the x-coordinate , it accepts two arguments (y, x) and returns arc tangent of y/x in radians.
atan2()函数是cmath标头的库函数,用于查找y / x的反正切的主值,其中y是y坐标的比例, x是x坐标的比例,它接受两个参数(y,x)并以弧度返回y / x的反正切。
Syntax of atan2() function: