shithub: npe

ref: 61a93fc303fe60819e7a0f9e264c0b592bcb8e93
dir: /libnpe/lrint.c/

View raw version
#include <math.h>

long
lrint(double d)
{
	long long l;

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

	return l;
}