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