函数名: atan2
功 能: 计算Y/X的反正切值
用 法: #include <math.h>
double atan2(double y, double x);
程序例:
#include <stdio.h>
#include <math.h>
int main(void)
{
double result;
double x = 90.0, y = 45.0;
result = atan2(y, x);
printf("The arc tangent ratio of %lf is %lf\n", (y / x), result);
return 0;
}