diff options
Diffstat (limited to 'gcc/f/runtime/libF77/r_atn2.c')
-rw-r--r-- | gcc/f/runtime/libF77/r_atn2.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/f/runtime/libF77/r_atn2.c b/gcc/f/runtime/libF77/r_atn2.c new file mode 100644 index 00000000000..9347e1f13a9 --- /dev/null +++ b/gcc/f/runtime/libF77/r_atn2.c @@ -0,0 +1,13 @@ +#include "f2c.h" + +#ifdef KR_headers +double atan2(); +double r_atn2(x,y) real *x, *y; +#else +#undef abs +#include <math.h> +double r_atn2(real *x, real *y) +#endif +{ +return( atan2(*x,*y) ); +} |