Annotation of 41BSD/lib/libF77/c_log.c, revision 1.1

1.1     ! root        1: #include "complex"
        !             2: 
        !             3: c_log(r, z)
        !             4: complex *r, *z;
        !             5: {
        !             6: double log(), cabs(), atan2();
        !             7: 
        !             8: r->imag = atan2(z->imag, z->real);
        !             9: r->real = log( cabs(z->real, z->imag) );
        !            10: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.