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 possible fd leak, unrestored cancellation state on dns socket fail
[musl.git]
/
src
/
complex
/
ccosl.c
blob
d787047fec8d5a8df1234f393cd2b8f1a683092b
1
#include
"libm.h"
2
3
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
4
long double complex
ccosl
(
long double complex
z
)
5
{
6
return
ccos
(
z
);
7
}
8
#else
9
long double complex
ccosl
(
long double complex
z
)
10
{
11
return
ccoshl
(
CMPLXL
(-
cimagl
(
z
),
creall
(
z
)));
12
}
13
#endif