shithub: riscv

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