git: 9front

ref: 13381e0cca93c1c4499cc0498b5d0ffdc1de3ef5
dir: /sys/src/ape/lib/ap/math/fabs.c/

View raw version
#include <math.h>

double
fabs(double arg)
{

	if(arg < 0)
		return -arg;
	return arg;
}