ref: 4ec97f73ee2326209bc56730562e82f2e6fe2c0a dir: /sys/src/ape/lib/ap/gen/abs.c/
#include <stdlib.h> int abs(int a) { if(a < 0) return -a; return a; } long labs(long a) { if(a < 0) return -a; return a; }