FENIX_libc/math/fabsf.c

11 lines
104 B
C

#include <math.h>
float fabsf(float x) {
if(x < 0) {
return -x;
}
else {
return x;
}
}