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
2003-05-15 Eric Christopher <echristo@redhat.com>
[official-gcc.git]
/
libf2c
/
libF77
/
c_sin.c
blob
44bce9f7739e9e3a2dcd54b7985c7cdf58e2d430
1
#include
"f2c.h"
2
3
#undef abs
4
#include
"math.h"
5
6
void
7
c_sin
(
complex
*
r
,
complex
*
z
)
8
{
9
double
zi
=
z
->
i
,
zr
=
z
->
r
;
10
r
->
r
=
sin
(
zr
) *
cosh
(
zi
);
11
r
->
i
=
cos
(
zr
) *
sinh
(
zi
);
12
}