Follow the same patterns as the other min/max variants.
Vector cases are broken, so leave those for later.