mathinit.c
来自「ppc 8245 可编译bsp 包括 uart」· C语言 代码 · 共 57 行
C
57 行
/* mathLibInit.c - math library initialization *//* Copyright 1995 Wind River Systems, Inc. *//*modification history--------------------01c,17mar95,ism Removed 5.1.1 math routines.01b,09jan95,ism Added array to link in math routines missing from 5.201a,07sep92,smb written.*//*This file is used to include the math ANSI C library routines in the VxWorks build. The routines are only included when this file is included by usrConfig.c.NOMANUAL*/#ifndef __INCmathLibInitc#define __INCmathLibInitc #include "vxWorks.h"#include "math.h"extern void gccMathInit ();extern void gccUssInit ();VOIDFUNCPTR mathFiles[] = { (VOIDFUNCPTR) acos, (VOIDFUNCPTR) asin, (VOIDFUNCPTR) atan, (VOIDFUNCPTR) atan2, (VOIDFUNCPTR) ceil, (VOIDFUNCPTR) cos, (VOIDFUNCPTR) cosh, (VOIDFUNCPTR) exp, (VOIDFUNCPTR) fabs, (VOIDFUNCPTR) floor, (VOIDFUNCPTR) fmod, (VOIDFUNCPTR) frexp, (VOIDFUNCPTR) ldexp, (VOIDFUNCPTR) log, (VOIDFUNCPTR) log10, (VOIDFUNCPTR) modf, (VOIDFUNCPTR) pow, (VOIDFUNCPTR) sin, (VOIDFUNCPTR) sinh, (VOIDFUNCPTR) sqrt, (VOIDFUNCPTR) tan, (VOIDFUNCPTR) tanh, };#endif /* __INCmathLibInitc */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?