1) UCB code to scroll portion of screen with al/dl works only for fullscreen
[unix-history] / lib / libF77 / c_exp.c
CommitLineData
547779a8
WH
1#include "f2c.h"
2
3#ifdef KR_headers
4extern double exp(), cos(), sin();
5
6 VOID c_exp(r, z) complex *r, *z;
7#else
8#undef abs
9#include "math.h"
10
11void c_exp(complex *r, complex *z)
12#endif
13{
14double expx;
15
16expx = exp(z->r);
17r->r = expx * cos(z->i);
18r->i = expx * sin(z->i);
19}