shithub: riscv

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