ref: 9fe0bdca16d617404d87acfb4b473e1e900f1050 dir: /libnpe/lrint.c/
#include <math.h> long lrint(double d) { long long l; *((double*)&l) = d + 6755399441055744.0; return l; }