repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* config/xtensa/xtensa.c: Formatting.
[official-gcc.git]
/
libf2c
/
libF77
/
c_exp.c
blob
56a8695420c20ff11ad99ac9506580750894ecf8
1
#include
"f2c.h"
2
3
#undef abs
4
#include
"math.h"
5
6
void
7
c_exp
(
complex
*
r
,
complex
*
z
)
8
{
9
double
expx
,
zi
=
z
->
i
;
10
11
expx
=
exp
(
z
->
r
);
12
r
->
r
=
expx
*
cos
(
zi
);
13
r
->
i
=
expx
*
sin
(
zi
);
14
}