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