Improve int-to-float and uint-to-float conversions