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 TZ parsing logic for identifying POSIX-form strings
[musl.git]
/
src
/
complex
/
ccosl.c
blob
2530006bfc4262e10b75a75f94e2744d79c739f7
1
#include
"complex_impl.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