git: 9front

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