shithub: riscv

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