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