summaryrefslogtreecommitdiff
path: root/Build/source/utils/pmx/pmx-2.6.18/libf2c/r_tanh.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/pmx/pmx-2.6.18/libf2c/r_tanh.c')
-rw-r--r--Build/source/utils/pmx/pmx-2.6.18/libf2c/r_tanh.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/Build/source/utils/pmx/pmx-2.6.18/libf2c/r_tanh.c b/Build/source/utils/pmx/pmx-2.6.18/libf2c/r_tanh.c
new file mode 100644
index 00000000000..7739c6ce846
--- /dev/null
+++ b/Build/source/utils/pmx/pmx-2.6.18/libf2c/r_tanh.c
@@ -0,0 +1,19 @@
+#include "f2c.h"
+
+#ifdef KR_headers
+double tanh();
+double r_tanh(x) real *x;
+#else
+#undef abs
+#include "math.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+double r_tanh(real *x)
+#endif
+{
+return( tanh(*x) );
+}
+#ifdef __cplusplus
+}
+#endif