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