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
* builtins.def: Break out _Complex math functions into their
[official-gcc.git]
/
libf2c
/
libF77
/
z_sin.c
blob
8cb44cf53ca2176dbf4f1beb1cf2840ed71ba2f3
1
#include
"f2c.h"
2
3
#undef abs
4
#include
"math.h"
5
void
6
z_sin
(
doublecomplex
*
r
,
doublecomplex
*
z
)
7
{
8
double
zi
=
z
->
i
,
zr
=
z
->
r
;
9
r
->
r
=
sin
(
zr
) *
cosh
(
zi
);
10
r
->
i
=
cos
(
zr
) *
sinh
(
zi
);
11
}