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