shithub: riscv

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