musl - an implementation of the standard library for Linux-based systems
blob: e9e45643d28eba3f37b4d69c37061d1066ab0561 (
plain) (
blame)
1
2
3
4
5
6
7
|
#include <math.h>
float fabsf(float x)
{
__asm__ ("fabs %0, %1" : "=f"(x) : "f"(x));
return x;
}
|