home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / c / djgpp / libsrc / m / cosh.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-03-10  |  86 b   |  7 lines

  1. #include <math.h>
  2.  
  3. double cosh(double x)
  4. {
  5.   return (exp(x) + exp(-x)) / 2.0;
  6. }
  7.