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