shithub: ballistics

ref: 168a16b70a928ed64061bdac7fc9d52235c3f9fc
dir: /util.c/

View raw version
#include <u.h>
#include <libc.h>
#include "dat.h"
#include "fns.h"

double
round(double n)
{
	return floor(n + 0.5);
}

double
hypot3(double x, double y, double z)
{
	return hypot(x, hypot(y, z));
}