freebsd-dev/contrib/libf2c/libF77/d_cnjg.c

18 lines
231 B
C
Raw Normal View History

1999-09-18 10:51:31 +00:00
#include "f2c.h"
VOID
#ifdef KR_headers
d_cnjg(resx, z) doublecomplex *resx, *z;
#else
d_cnjg(doublecomplex *resx, doublecomplex *z)
#endif
{
doublecomplex res;
res.r = z->r;
res.i = - z->i;
resx->r = res.r;
resx->i = res.i;
}