sf_cosh.c

来自「KPIT GNU Tools is a set of GNU developme」· C语言 代码 · 共 34 行

C
34
字号
/* @(#)z_coshf.c 1.0 98/08/13 *//****************************************************************** * Hyperbolic Cosine * * Input: *   x - floating point value * * Output: *   hyperbolic cosine of x * * Description: *   This routine returns the hyperbolic cosine of x. * *****************************************************************/#include "fdlibm.h"#include "zmath.h"float_DEFUN (coshf, (float),        float x){  return (sinehf (x, 1));}#ifdef _DOUBLE_IS_32BITSdouble cosh (double x){  return (double) sinehf ((float) x, 1);}#endif /* defined(_DOUBLE_IS_32BITS) */

⌨️ 快捷键说明

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