home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
minnie.tuhs.org
/
unixen.tar
/
unixen
/
PDP-11
/
Trees
/
V7
/
usr
/
src
/
libF77
/
pow_ci.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1979-01-10
|
207 b
|
17 lines
#include "complex"
pow_ci(p, a, b) /* p = a**b */
complex *p, *a;
long int *b;
{
dcomplex p1, a1;
a1.dreal = a->real;
a1.dimag = a->imag;
pow_zi(&p1, &a1, b);
p->real = p1.dreal;
p->imag = p1.dimag;
}