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