2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
6 long double fabsl (long double x
);
11 #if defined(__x86_64__) || defined(_AMD64_) || defined(__i386__) || defined(_X86_)
12 long double res
= 0.0L;
13 asm volatile ("fabs;" : "=t" (res
) : "0" (x
));
15 #elif defined(__arm__) || defined(_ARM_)
16 return __builtin_fabsl (x
);
17 #endif /* defined(__x86_64__) || defined(_AMD64_) || defined(__i386__) || defined(_X86_) */