4BSD/usr/src/lib/libF77/z_sin.c

Compare this file to the similar file:
Show the results in this format:

#include "complex"

z_sin(r, z)
dcomplex *r, *z;
{
double sin(), cos(), sinh(), cosh();

r->dreal = sin(z->dreal) * cosh(z->dimag);
r->dimag = cos(z->dreal) * sinh(z->dimag);
}