#include "complex" z_cos(r, z) dcomplex *r, *z; { double sin(), cos(), sinh(), cosh(); r->dreal = cos(z->dreal) * cosh(z->dimag); r->dimag = - sin(z->dreal) * sinh(z->dimag); }