shithub: riscv

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