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