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