FENIX_libc/stdlib/llabs.c

7 lines
110 B
C
Raw Normal View History

2020-12-01 23:40:03 +00:00
#include <stdlib.h>
long long int llabs(long long int x) {
long long int y = x < 0 ? -x : x;
return y;
}