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