Simplify and fix signed int -> FP conversions.