diff options
Diffstat (limited to 'gcc/f/runtime/libF77/r_cosh.c')
-rw-r--r-- | gcc/f/runtime/libF77/r_cosh.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/f/runtime/libF77/r_cosh.c b/gcc/f/runtime/libF77/r_cosh.c new file mode 100644 index 00000000000..7ae72cc0cef --- /dev/null +++ b/gcc/f/runtime/libF77/r_cosh.c @@ -0,0 +1,13 @@ +#include "f2c.h" + +#ifdef KR_headers +double cosh(); +double r_cosh(x) real *x; +#else +#undef abs +#include <math.h> +double r_cosh(real *x) +#endif +{ +return( cosh(*x) ); +} |