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