|
Last change
on this file since 1675 was 1392, checked in by bird, 22 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 |
|
|---|
| 3 | extern void pow_zi (doublecomplex *, doublecomplex *, integer *);
|
|---|
| 4 | void
|
|---|
| 5 | pow_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.