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