* builtins.def: Break out _Complex math functions into their
[official-gcc.git] / libf2c / libF77 / pow_ci.c
blob1df3eb34b00ff803c7b4a0a0565e6be61afe8dfa
1 #include "f2c.h"
3 extern void pow_zi (doublecomplex *, doublecomplex *, integer *);
4 void
5 pow_ci (complex * p, complex * a, integer * b) /* p = a**b */
7 doublecomplex p1, a1;
9 a1.r = a->r;
10 a1.i = a->i;
12 pow_zi (&p1, &a1, b);
14 p->r = p1.r;
15 p->i = p1.i;