shithub: riscv

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