[PATCH v3 1/3] Rename i2f() to int2float(), and make it global so one copy can be removed.