1#include <math.h> 2 3#if __riscv_flen >= 32 4 5float 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 16