shithub: riscv

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