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