Include the fortran library sources from GCC 3.4.4.
[dragonfly.git] / contrib / gcc-3.4 / libf2c / libF77 / c_sin.c
1 #include "f2c.h"
2
3 #undef abs
4 #include "math.h"
5
6 void
7 c_sin (complex * r, complex * z)
8 {
9   double zi = z->i, zr = z->r;
10   r->r = sin (zr) * cosh (zi);
11   r->i = cos (zr) * sinh (zi);
12 }