ref: 4772141bd632a56a349a9ea96f908878860ad78a dir: /lrint.c/
int lrintf(float f) { int i; *((float*)&i) = f + 12582912.0f; return (i & 0x7fffff) - 0x400000; } long lrint(double d) { long long l; *((double*)&l) = d + 6755399441055744.0; return l; }