shithub: npe

ref: 25d017440f96bd59227c56a902dc7c0bb3e23c4f
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}