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