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