kolibrios/programs/develop/ktcc/trunk/libc/math/cosh.c

6 lines
82 B
C
Raw Normal View History

#include <math.h>
double cosh (double x)
{
return (exp(x) + exp(-x)) / 2;
}