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