* gcj.texi (Compatibility): Add Limitations and Extensions section.
[official-gcc.git] / libf2c / libF77 / z_exp.c
blob16f51e74a45631b4e9ecda29cada3b96ded36d49
1 #include "f2c.h"
3 #undef abs
4 #include "math.h"
5 void
6 z_exp (doublecomplex * r, doublecomplex * z)
8 double expx, zi = z->i;
10 expx = exp (z->r);
11 r->r = expx * cos (zi);
12 r->i = expx * sin (zi);