shithub: riscv

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