shithub: npe

ref: 1cf523a5e0dc72fd9d41aa434e3359ff08c5406e
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}