max returns maximum value of expr.