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