summaryrefslogtreecommitdiff
path: root/libf2c/libF77/d_acos.c
diff options
context:
space:
mode:
Diffstat (limited to 'libf2c/libF77/d_acos.c')
-rw-r--r--libf2c/libF77/d_acos.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/libf2c/libF77/d_acos.c b/libf2c/libF77/d_acos.c
new file mode 100644
index 00000000000..33da5369db2
--- /dev/null
+++ b/libf2c/libF77/d_acos.c
@@ -0,0 +1,13 @@
+#include "f2c.h"
+
+#ifdef KR_headers
+double acos();
+double d_acos(x) doublereal *x;
+#else
+#undef abs
+#include <math.h>
+double d_acos(doublereal *x)
+#endif
+{
+return( acos(*x) );
+}