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