16 lines
190 B
C
16 lines
190 B
C
|
#include <math.h>
|
||
|
|
||
|
#if defined(__HTM__) || __ARCH__ >= 9
|
||
|
|
||
|
long double fabsl(long double x)
|
||
|
{
|
||
|
__asm__ ("lpxbr %0, %1" : "=f"(x) : "f"(x));
|
||
|
return x;
|
||
|
}
|
||
|
|
||
|
#else
|
||
|
|
||
|
#include "../fabsl.c"
|
||
|
|
||
|
#endif
|