Use float literals instead of casting.