ref: ba4b0723d9e6d6ec72ca54016a932e72fbae46f7 dir: /libnpe/lrintf.c/
#include <math.h> int lrintf(float f) { int i; *((float*)&i) = f + 12582912.0f; return (i & 0x7fffff) - 0x400000; }