Rename i2f() to int2float(), and make it global so one copy can be removed.