ack/lang/fortran/lib/libF77/c_cos.c
1991-10-07 16:59:33 +00:00

11 lines
157 B
C

#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);
}