shithub: npe

ref: 61db9b4fbe5ad66d0600bca8c39171c027ae2ecd
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}