diff options
Diffstat (limited to 'gnu/egcs/libf2c/libF77/r_cnjg.c')
-rw-r--r-- | gnu/egcs/libf2c/libF77/r_cnjg.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/egcs/libf2c/libF77/r_cnjg.c b/gnu/egcs/libf2c/libF77/r_cnjg.c new file mode 100644 index 00000000000..756c694ee7a --- /dev/null +++ b/gnu/egcs/libf2c/libF77/r_cnjg.c @@ -0,0 +1,12 @@ +#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; + } |