shithub: npe

ref: 2b10549c4fcfed1d97488ba633f045ae6da393e3
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}