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