miscellaneous: signed->unsigned min, max, etc