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