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