shithub: npe

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

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}