ref: 36af8405521be371605e4658ec8f4b133f3c7d6f 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; }