shithub: npe

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

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}