shithub: npe

ref: c40dabd91310f12d3e13687e890bf4274c7ddcfa
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}