branch update for HEAD-2003021201
[reactos.git] / lib / crtdll / math / cosh.c
1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2 #include <msvcrt/math.h>
3
4
5 double cosh(double x)
6 {
7     const double ebig = exp(fabs(x));
8     return (ebig + 1.0/ebig) / 2.0;
9 }