repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix build regression on armhf in tlsdesc asm
[musl.git]
/
src
/
complex
/
csinl.c
blob
4e9f86c3ae4dc2094dd55dd79bd88a25ce40d784
1
#include
"libm.h"
2
3
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
4
long double complex
csinl
(
long double complex
z
)
5
{
6
return
csin
(
z
);
7
}
8
#else
9
long double complex
csinl
(
long double complex
z
)
10
{
11
z
=
csinhl
(
CMPLXL
(-
cimagl
(
z
),
creall
(
z
)));
12
return
CMPLXL
(
cimagl
(
z
), -
creall
(
z
));
13
}
14
#endif