fabs.c

来自「MMI层OBJ不能完全编译」· C语言 代码 · 共 18 行

C
18
字号
/****************************************************************************/
/*  FABS   v2.54                                                            */
/*  Copyright (c) 1993-2004 Texas Instruments Incorporated                  */
/****************************************************************************/

#include <math.h>

/****************************************************************************/
/*  FABS() - Floating Point Absolute Value				    */
/*									    */
/*  The definition below is NOT a recursive definition!  The compiler       */
/*  generates calls to fabs() inline, using a single ABS instruction.       */
/****************************************************************************/
double fabs(double x)
{
    return fabs(x);        /* This will be generated inline by the compiler */
}

⌨️ 快捷键说明

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