Compare value with different sign and size