shithub: npe

ref: 41f9e6315b75a8ea422d1c0dbf0ed1999b80a7eb
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}