sf_sinh.c

来自「Newlib 嵌入式 C库 标准实现代码」· C语言 代码 · 共 35 行

C
35
字号
/* @(#)z_sinhf.c 1.0 98/08/13 *//****************************************************************** * Hyperbolic Sine * * Input: *   x - floating point value * * Output: *   hyperbolic sine of x * * Description: *   This routine returns the hyperbolic sine of x. * *****************************************************************/#include "fdlibm.h"#include "zmath.h"float_DEFUN (sinhf, (float),        float x){  return (sinehf (x, 0));}#ifdef _DOUBLE_IS_32BITSdouble sinh (double x){  return (double) sinhf ((float) x);}#endif /* _DOUBLE_IS_32BITS */

⌨️ 快捷键说明

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