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
/
cabsl.c
blob
40a067c1c59f182d7d96957a3286e4dace5e5449
1
#include
"libm.h"
2
3
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
4
long double
cabsl
(
long double complex
z
)
5
{
6
return
cabs
(
z
);
7
}
8
#else
9
long double
cabsl
(
long double complex
z
)
10
{
11
return
hypotl
(
creall
(
z
),
cimagl
(
z
));
12
}
13
#endif