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