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