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
math: move complex math out of libm.h
[musl.git]
/
src
/
complex
/
cacoshl.c
blob
d3eaee204f6d51a13c8932e0e2e68fe708536b78
1
#include
"complex_impl.h"
2
3
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
4
long double complex
cacoshl
(
long double complex
z
)
5
{
6
return
cacosh
(
z
);
7
}
8
#else
9
long double complex
cacoshl
(
long double complex
z
)
10
{
11
z
=
cacosl
(
z
);
12
return
CMPLXL
(-
cimagl
(
z
),
creall
(
z
));
13
}
14
#endif