shithub: npe

ref: 8d59ff3b29f759e550dc421b8cd14d96b83b5001
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

	*((double*)&l) = d + 6755399441055744.0;

	return l;
}