Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
  2. #include <math.h>
  3.  
  4. double cosh(double x)
  5. {
  6.   const double ebig = exp(fabs(x));
  7.   return (ebig + 1.0/ebig) / 2.0;
  8. }
  9.