FENIX_libc/math/fabsl.c

11 lines
116 B
C
Raw Normal View History

2020-12-01 23:40:03 +00:00
#include <math.h>
long double fabsl(long double x) {
if(x < 0) {
return -x;
}
else {
return x;
}
}