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