git: 9front

ref: 1741065b3f16a015326c811029334e09f2022a86
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;
}