math.h

来自「AT80296C 单片机中使用此头文件可方便查找东西,方便于编程 板头文件」· C头文件 代码 · 共 57 行

H
57
字号
/*
 *      Version : @(#)math.h	1.3
 */

/**************************************************************************
**                                                                        *
**  FILE        :  math.h                                                 *
**                                                                        *
**  DESCRIPTION :  Include file with prototypes for mathematical          *
**                 functions                                              *
**                                                                        *
**  COPYRIGHT   :  1995 Tasking Software B.V., Amersfoort                 *
**                                                                        *
**************************************************************************/

#ifndef _math_h
#define _math_h

#include        <float.h>

#ifdef  _SINGLE_FP
#define HUGE_VAL        (FLT_MAX)
#else
#define HUGE_VAL        (DBL_MAX)
#endif

extern double          sin(double);
extern double          cos(double);
extern double          tan(double);
extern double          asin(double);
extern double          acos(double);
extern double          atan(double);
extern double          atan2(double, double);
extern double          sinh(double);
extern double          cosh(double);
extern double          tanh(double);

extern double          exp(double);
extern double          log(double);
extern double          log10(double);

extern double          pow(double, double);
extern double          sqrt(double);

extern double          ceil(double);
extern double          floor(double);
extern double          fmod(double, double);

extern double          fabs(double);

extern double          frexp(double, int *);
extern double          ldexp(double, int);
extern double          modf(double, double *);


#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?