From 81fea2b1d147752f431b46c08f4c12a18a2d78bc Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 31 Jan 1998 18:37:08 -0700 Subject: * Previous contents of gcc/f/runtime moved into toplevel "libf2c" directory. From-SVN: r17568 --- libf2c/libF77/d_cnjg.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 libf2c/libF77/d_cnjg.c (limited to 'libf2c/libF77/d_cnjg.c') diff --git a/libf2c/libF77/d_cnjg.c b/libf2c/libF77/d_cnjg.c new file mode 100644 index 0000000..1afa3bc --- /dev/null +++ b/libf2c/libF77/d_cnjg.c @@ -0,0 +1,17 @@ +#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; +} -- cgit v1.1