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