#include "f2c.h" #include "blaswrap.h" doublereal scabs1_(complex *z__) { /* System generated locals */ real ret_val, r__1, r__2; /* Builtin functions */ double r_imag(complex *); /* .. Scalar Arguments .. */ /* .. */ /* Purpose */ /* ======= */ /* SCABS1 computes absolute value of a complex number */ /* .. Intrinsic Functions .. */ /* .. */ ret_val = (r__1 = z__->r, dabs(r__1)) + (r__2 = r_imag(z__), dabs(r__2)); return ret_val; } /* scabs1_ */