shithub: riscv

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