ack/lang/fortran/lib/libF77/c_cos.c

11 lines
157 B
C
Raw Permalink Normal View History

1991-10-07 16:59:33 +00:00
#include "f2c.h"
VOID c_cos(r, z)
complex *r, *z;
{
double sin(), cos(), sinh(), cosh();
r->r = cos(z->r) * cosh(z->i);
r->i = - sin(z->r) * sinh(z->i);
}