ref: 3cc8de7beda4e1a99a33728014953fc1158a336a dir: /src/libc/stdlib/labs.c/
#include <stdlib.h> #undef labs long labs(long n) { return (n < 0) ? -n : n; }