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