diff options
Diffstat (limited to 'lib/libF77/r_cos.c')
-rw-r--r-- | lib/libF77/r_cos.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libF77/r_cos.c b/lib/libF77/r_cos.c new file mode 100644 index 0000000..cf5c8eb --- /dev/null +++ b/lib/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) ); +} |