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