freebsd-dev/contrib/libf2c/libF77/z_abs.c

13 lines
201 B
C
Raw Normal View History

1999-09-18 10:51:31 +00:00
#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 ) );
}