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