fabs.c
来自「OMAP1030 处理器的ARM 侧硬件测试代码 OMAP1030 是TI」· C语言 代码 · 共 19 行
C
19 行
/****************************************************************************/
/* FABS v2.24 */
/* Copyright (c) 1993-2002 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 + -
显示快捷键?