Category : C Source Code
Archive   : F2CSRC.ZIP
Filename : Z_LOG.C

 
Output of file : Z_LOG.C contained in archive : F2CSRC.ZIP

#include "f2c.h"

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

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