shithub: npe

ref: 7cb2dd4c19885e17b9b8fa79fc0d36fced5e8876
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}