V7/usr/src/libF77/z_log.c

Find at most related files.
including files from this version of Unix.

#include "complex"

z_log(r, z)
dcomplex *r, *z;
{
double log(), cabs(), atan2();

r->dimag = atan2(z->dimag, z->dreal);
r->dreal = log( cabs( z->dreal, z->dimag ) );
}