source: trunk/gcc/libf2c/libF77/pow_ci.c

Last change on this file was 1392, checked in by bird, 21 years ago

This commit was generated by cvs2svn to compensate for changes in r1391,
which included commits to RCS files with non-trunk default branches.

  • Property cvs2svn:cvs-rev set to 1.1.1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 267 bytes
Line 
1#include "f2c.h"
2
3extern void pow_zi (doublecomplex *, doublecomplex *, integer *);
4void
5pow_ci (complex * p, complex * a, integer * b) /* p = a**b */
6{
7 doublecomplex p1, a1;
8
9 a1.r = a->r;
10 a1.i = a->i;
11
12 pow_zi (&p1, &a1, b);
13
14 p->r = p1.r;
15 p->i = p1.i;
16}
Note: See TracBrowser for help on using the repository browser.