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
signal.h: add new sa_flags from linux v5.11
[musl.git]
/
src
/
math
/
arm
/
fabs.c
blob
6e1d367d3d6ad580798b3fb19ce6f8a070cf65e3
1
#include <math.h>
2
3
#if __ARM_PCS_VFP && __ARM_FP&8
4
5
double
fabs
(
double
x
)
6
{
7
__asm__
(
"vabs.f64 %P0, %P1"
:
"=w"
(
x
) :
"w"
(
x
));
8
return
x
;
9
}
10
11
#else
12
13
#include
"../fabs.c"
14
15
#endif