shithub: npe

ref: a30d7ca4b6b6e2d218e324847abd754ae834cc5e
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}