add non-stub implementation of catgets localization functions
[musl] / src / math / riscv64 / fabsf.c
1 #include <math.h>
2
3 #if __riscv_flen >= 32
4
5 float fabsf(float x)
6 {
7         __asm__ ("fabs.s %0, %1" : "=f"(x) : "f"(x));
8         return x;
9 }
10
11 #else
12
13 #include "../fabsf.c"
14
15 #endif