跳转到内容

atan2

float  atan2(float y, float x)

返回 y/x 的反正切的主值,使用两个参数的符号来确定结果的象限。返回值范围在 -π 到 π 之间。