三角函数库

常见的三角函数库.以及 float , double 范围.

float

范围大概是 1e-38~1e38 .精度大概是7位.

double

范围: 1e-308~1e308 .精度大概是15-16位.

三角函数

sin
cos
tan
asin
acos
atan
atan2(double y,double x) :传入 $(y,x)$ ,输出与 $x$ 轴正方向角度(坐标轴下是负值).

参数: sin , sinf , sinl ,其实都差不多,单纯是传入参数的区别.