2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / libf2c / libF77 / c_sin.c
blob44bce9f7739e9e3a2dcd54b7985c7cdf58e2d430
1 #include "f2c.h"
3 #undef abs
4 #include "math.h"
6 void
7 c_sin (complex * r, complex * z)
9 double zi = z->i, zr = z->r;
10 r->r = sin (zr) * cosh (zi);
11 r->i = cos (zr) * sinh (zi);