Sign in
mojo
/
mojo-testing
/
17e3b04429ce6ad836128e1ceffefd85493ec779
/
.
/
fusl
/
src
/
math
/
arm
/
fabs.c
blob: 1b093a7306ce6ee5a152fd0de80cd53ef8e33919 [
file
]
#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