blob: 8cb44cf53ca2176dbf4f1beb1cf2840ed71ba2f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "f2c.h"
#undef abs
#include "math.h"
void
z_sin (doublecomplex * r, doublecomplex * z)
{
double zi = z->i, zr = z->r;
r->r = sin (zr) * cosh (zi);
r->i = cos (zr) * sinh (zi);
}
|