shithub: npe

ref: 3e659eda301488f5e86c68c81e2ff2a88b6755f9
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}