Sign in
fuchsia
/
fuchsia
/
refs/heads/releases/canary
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
src
/
complex
/
cabsl.c
blob: aebd0a69c29377d9820efbaf1cf8096d31eda82a [
file
] [
log
] [
blame
]
#include
"libm.h"
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
long
double
cabsl
(
long
double
complex z
)
{
return
cabs
(
z
);
}
#else
long
double
cabsl
(
long
double
complex z
)
{
return
hypotl
(
creall
(
z
),
cimagl
(
z
));
}
#endif