[Patch v2 3/4] Rename i2f() to int2float(), and make it global so one copy can be removed.