FENIX_libc/stdlib/llabs.c
2020-12-01 17:40:03 -06:00

6 lines
110 B
C

#include <stdlib.h>
long long int llabs(long long int x) {
long long int y = x < 0 ? -x : x;
return y;
}