Sign in
gnu
/
gcc
/
d01fc6a3172f05d1618263450c1c9f13737acf57
/
.
/
libf2c
/
libF77
/
c_sin.c
blob: 44bce9f7739e9e3a2dcd54b7985c7cdf58e2d430 [
file
] [
log
] [
blame
]
#include
"f2c.h"
#undef
abs
#include
"math.h"
void
c_sin
(
complex
*
r
,
complex
*
z
)
{
double
zi
=
z
->
i
,
zr
=
z
->
r
;
r
->
r
=
sin
(
zr
)
*
cosh
(
zi
);
r
->
i
=
cos
(
zr
)
*
sinh
(
zi
);
}