ref: 3914893b89ffe0e45fd20c035dcfcfed3051eaec dir: /sys/src/libc/port/fabs.c/
#include <u.h> #include <libc.h> double fabs(double arg) { if(arg < 0) return -arg; return arg; }