git: 9front

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