shithub: npe

ref: 7a8cd4cb0b312e13a88d4d3175a839a2536ee4e3
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}