diff options
Diffstat (limited to 'gnu/usr.bin/gcc/f/runtime/libF77/c_abs.c')
-rw-r--r-- | gnu/usr.bin/gcc/f/runtime/libF77/c_abs.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/f/runtime/libF77/c_abs.c b/gnu/usr.bin/gcc/f/runtime/libF77/c_abs.c new file mode 100644 index 00000000000..041fbd3d8bb --- /dev/null +++ b/gnu/usr.bin/gcc/f/runtime/libF77/c_abs.c @@ -0,0 +1,14 @@ +#include "f2c.h" + +#ifdef KR_headers +extern double f__cabs(); + +double c_abs(z) complex *z; +#else +extern double f__cabs(double, double); + +double c_abs(complex *z) +#endif +{ +return( f__cabs( z->r, z->i ) ); +} |