shithub: riscv

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