shithub: npe

ref: 742736e50d97306ad16853d18c977b502cf35b82
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}