freebsd-dev/contrib/libf2c/libF77/r_cnjg.c
1999-09-19 05:59:11 +00:00

13 lines
168 B
C

#include "f2c.h"
#ifdef KR_headers
VOID r_cnjg(r, z) complex *r, *z;
#else
VOID r_cnjg(complex *r, complex *z)
#endif
{
real zi = z->i;
r->r = z->r;
r->i = -zi;
}