s_log.c
来自「Newlib 嵌入式 C库 标准实现代码」· C语言 代码 · 共 30 行
C
30 行
/* @(#)z_log.c 1.0 98/08/13 *//****************************************************************** * Logarithm * * Input: * x - floating point value * * Output: * natural logarithm of x * * Description: * This routine returns the natural logarithm of x. * *****************************************************************/#include "fdlibm.h"#include "zmath.h"#ifndef _DOUBLE_IS_32BITSdouble_DEFUN (log, (double), double x){ return (logarithm (x, 0));}#endif /* _DOUBLE_IS_32BITS */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?