|
|
1.1 ! root 1: #include "complex" ! 2: ! 3: z_sin(r, z) ! 4: dcomplex *r, *z; ! 5: { ! 6: double sin(), cos(), sinh(), cosh(); ! 7: ! 8: r->dreal = sin(z->dreal) * cosh(z->dimag); ! 9: r->dimag = cos(z->dreal) * sinh(z->dimag); ! 10: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.