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
* predict.c (estimate_bb_frequencies): Initialize the sreal
[official-gcc.git]
/
libf2c
/
libF77
/
c_cos.c
blob
59659754978f139f8189c83c5e3ec0b4d158cffe
1
#include
"f2c.h"
2
3
#undef abs
4
#include
"math.h"
5
6
void
7
c_cos
(
complex
*
r
,
complex
*
z
)
8
{
9
double
zi
=
z
->
i
,
zr
=
z
->
r
;
10
r
->
r
=
cos
(
zr
) *
cosh
(
zi
);
11
r
->
i
= -
sin
(
zr
) *
sinh
(
zi
);
12
}