diff options
Diffstat (limited to 'contrib/libf2c/libF77/r_cos.c')
-rw-r--r-- | contrib/libf2c/libF77/r_cos.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/libf2c/libF77/r_cos.c b/contrib/libf2c/libF77/r_cos.c new file mode 100644 index 0000000..5bda158 --- /dev/null +++ b/contrib/libf2c/libF77/r_cos.c @@ -0,0 +1,13 @@ +#include "f2c.h" + +#ifdef KR_headers +double cos(); +double r_cos(x) real *x; +#else +#undef abs +#include <math.h> +double r_cos(real *x) +#endif +{ +return( cos(*x) ); +} |