summaryrefslogtreecommitdiffstats
path: root/lib/libF77/r_cosh.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libF77/r_cosh.c')
-rw-r--r--lib/libF77/r_cosh.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libF77/r_cosh.c b/lib/libF77/r_cosh.c
new file mode 100644
index 0000000..5756c17
--- /dev/null
+++ b/lib/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) );
+}
OpenPOWER on IntegriCloud