fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git] / toolchain / gcc / newlib / libm / mathfp / sf_cosh.c
blob4635b7144dd148a18573bc928ab7040c045579eb
2 /* @(#)z_coshf.c 1.0 98/08/13 */
3 /******************************************************************
4 * Hyperbolic Cosine
6 * Input:
7 * x - floating point value
9 * Output:
10 * hyperbolic cosine of x
12 * Description:
13 * This routine returns the hyperbolic cosine of x.
15 *****************************************************************/
17 #include "fdlibm.h"
18 #include "zmath.h"
20 float
21 _DEFUN (coshf, (float),
22 float x)
24 return (sinehf (x, 1));
27 #ifdef _DOUBLE_IS_32BITS
28 double cosh (double x)
30 return (double) sinehf ((float) x, 1);
33 #endif /* defined(_DOUBLE_IS_32BITS) */