Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
4973 |
right-hear |
1 |
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ |
|
|
2 |
#include |
|
|
3 |
|
|
|
4 |
double cosh(double x) |
|
|
5 |
{ |
|
|
6 |
const double ebig = exp(fabs(x)); |
|
|
7 |
return (ebig + 1.0/ebig) / 2.0; |
|
|
8 |
} |