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

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

/*
 *	"@(#)z_sin.c	1.1"
 */

#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);
}