shithub: npe

ref: 26ce37c49642e2875a36650734b9619b21c49be5
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}