diff options
Diffstat (limited to 'lib/libF77/z_abs.c')
-rw-r--r-- | lib/libF77/z_abs.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libF77/z_abs.c b/lib/libF77/z_abs.c new file mode 100644 index 0000000..7e67ad2 --- /dev/null +++ b/lib/libF77/z_abs.c @@ -0,0 +1,12 @@ +#include "f2c.h" + +#ifdef KR_headers +double f__cabs(); +double z_abs(z) doublecomplex *z; +#else +double f__cabs(double, double); +double z_abs(doublecomplex *z) +#endif +{ +return( f__cabs( z->r, z->i ) ); +} |