ReactOS 0.4.15-dev-8102-g108db8f
cosh.c
Go to the documentation of this file.
1/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2#include <math.h>
3
4#ifdef _MSC_VER
5#pragma function(cosh)
6#endif
7
8/*
9 * @implemented
10 */
11double cosh(double x)
12{
13 const double ebig = exp(fabs(x));
14 return (ebig + 1.0/ebig) / 2.0;
15}
double cosh(double x)
Definition: cosh.c:11
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
_Check_return_ _CRT_JIT_INTRINSIC double __cdecl fabs(_In_ double x)
Definition: fabs.c:17
DWORD exp
Definition: msg.c:16058