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