ref: 6b8bae6a7e94bbbfb15f8c344ac5beee0bc08eda dir: /sys/src/ape/lib/ap/math/fabs.c/
#include <math.h> double fabs(double arg) { if(arg < 0) return -arg; return arg; }