git: 9front

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