shithub: npe

ref: 396ff35e7d8f1d9b2283a4cd18836194fed1c630
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}