summaryrefslogtreecommitdiff
path: root/gcc/f/runtime/libF77/r_cnjg.c
blob: b6175eedfd76ee155f8ff58eb8b50f4a81b7d0aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "f2c.h"

#ifdef KR_headers
VOID r_cnjg(resx, z) complex *resx, *z;
#else
VOID r_cnjg(complex *resx, complex *z)
#endif
{
complex res;

res.r = z->r;
res.i = - z->i;

resx->r = res.r;
resx->i = res.i;
}