Min, max functions

How do the min/max functions work? Are they binary or unary operators? I’d expect “max 0” to mean the maximum value allowed is 0, but it seems to be the opposite of that.


Min and max are binary operators and yield the lesser or greater of the two operands respectively.