4 extern double log(), f__cabs(), atan2();
5 VOID
c_log(r
, z
) complex *r
, *z
;
9 extern double f__cabs(double, double);
11 void c_log(complex *r
, complex *z
)
15 r
->i
= atan2(zi
= z
->i
, zr
= z
->r
);
16 r
->r
= log( f__cabs(zr
, zi
) );