|
|
1.1 root 1: #include "complex"
2:
3: z_cos(r, z)
4: dcomplex *r, *z;
5: {
6: double sin(), cos(), sinh(), cosh();
7:
8: r->dreal = cos(z->dreal) * cosh(z->dimag);
9: r->dimag = - sin(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.