The patch looks like it makes sense at first sight (though the double conversion check is less than ideal), but you really want something more descriptive for the Changelog.