git: 9front

ref: 4fedd7d4fe1c3b509c84d12e971aaa466b8b4b3d
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;
}