13 lines
171 B
C
13 lines
171 B
C
|
#include "f2c.h"
|
||
|
|
||
|
VOID z_exp(r, z)
|
||
|
doublecomplex *r, *z;
|
||
|
{
|
||
|
double expx;
|
||
|
double exp(), cos(), sin();
|
||
|
|
||
|
expx = exp(z->r);
|
||
|
r->r = expx * cos(z->i);
|
||
|
r->i = expx * sin(z->i);
|
||
|
}
|