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