shithub: npe

ref: 9c1c52a8cf07ab0c308c494e58ddf38988c98d13
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}