summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/f/runtime/libF77/d_cosh.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/gcc/f/runtime/libF77/d_cosh.c')
-rw-r--r--gnu/usr.bin/gcc/f/runtime/libF77/d_cosh.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/f/runtime/libF77/d_cosh.c b/gnu/usr.bin/gcc/f/runtime/libF77/d_cosh.c
new file mode 100644
index 00000000000..1181833cc1f
--- /dev/null
+++ b/gnu/usr.bin/gcc/f/runtime/libF77/d_cosh.c
@@ -0,0 +1,13 @@
+#include "f2c.h"
+
+#ifdef KR_headers
+double cosh();
+double d_cosh(x) doublereal *x;
+#else
+#undef abs
+#include "math.h"
+double d_cosh(doublereal *x)
+#endif
+{
+return( cosh(*x) );
+}