shithub: npe

ref: 4c1fa073c7d7fff3c4e21717fcb0ad81a9ab3cf7
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}