10 lines
116 B
C
10 lines
116 B
C
#include <math.h>
|
|
|
|
long double fabsl(long double x) {
|
|
if(x < 0) {
|
|
return -x;
|
|
}
|
|
else {
|
|
return x;
|
|
}
|
|
}
|