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