Sign in
cobalt
/
cobalt
/
refs/tags/trunk.unnest
/
.
/
third_party
/
musl
/
src
/
math
/
arm
/
fabs.c
blob: f890520a5cd78d38ee3285aba4e179c730f76768 [
file
] [
log
] [
blame
]
#include
<math.h>
#if __ARM_PCS_VFP
double
fabs
(
double
x
)
{
__asm__
(
"vabs.f64 %P0, %P1"
:
"=w"
(
x
)
:
"w"
(
x
));
return
x
;
}
#else
#include
"../fabs.c"
#endif