能不能介绍下c语言中math.h中的函数的名称和功能?
2个回答
展开全部
int abs(int);//绝对值
//三角函数
double acos(double);
double asin(double);
double atan(double);
double atan2(double, double);
double cos(double);
double cosh(double);
double exp(double);
double fabs(double);
double fmod(double, double);
long labs(long);
double log(double);
double log10(double);
double pow(double, double);
double sin(double);
double sinh(double);
double tan(double);
double tanh(double);
double sqrt(double);
double atof(const char *);
double _cabs(struct _complex);//复数
double ceil(double);
double floor(double);
double frexp(double, int *);
double _hypot(double, double);
double _j0(double);
double _j1(double);
double _jn(int, double);
double ldexp(double, int);
int _matherr(struct _exception *);
double modf(double, double *);
double _y0(double);
double _y1(double);
double _yn(int, double);
//三角函数
double acos(double);
double asin(double);
double atan(double);
double atan2(double, double);
double cos(double);
double cosh(double);
double exp(double);
double fabs(double);
double fmod(double, double);
long labs(long);
double log(double);
double log10(double);
double pow(double, double);
double sin(double);
double sinh(double);
double tan(double);
double tanh(double);
double sqrt(double);
double atof(const char *);
double _cabs(struct _complex);//复数
double ceil(double);
double floor(double);
double frexp(double, int *);
double _hypot(double, double);
double _j0(double);
double _j1(double);
double _jn(int, double);
double ldexp(double, int);
int _matherr(struct _exception *);
double modf(double, double *);
double _y0(double);
double _y1(double);
double _yn(int, double);
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
math.h
The math header defines several mathematic functions.
Functions:
acos();
asin();
atan();
atan2();
ceil();
cos();
cosh();
exp();
fabs();
floor();
fmod();
frexp();
ldexp();
log();
log10();
modf();
pow();
sin();
sinh();
sqrt();
tan();
tanh();
都是数学计算
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询