blob: 44bce9f7739e9e3a2dcd54b7985c7cdf58e2d430 [file] [log] [blame]
#include "f2c.h"
#undef abs
#include "math.h"
void
c_sin (complex * r, complex * z)
{
double zi = z->i, zr = z->r;
r->r = sin (zr) * cosh (zi);
r->i = cos (zr) * sinh (zi);
}