Merge from vendor branch OPENSSH:
[dragonfly.git] / contrib / gcc-3.4 / libf2c / libF77 / z_cos.c
1 #include "f2c.h"
2
3 #undef abs
4 #include "math.h"
5 void
6 z_cos (doublecomplex * r, doublecomplex * z)
7 {
8   double zi = z->i, zr = z->r;
9   r->r = cos (zr) * cosh (zi);
10   r->i = -sin (zr) * sinh (zi);
11 }