Improved the signedness conversion.