I suggest you to compare run time of both versions. we have similar routines in other places and we should use consistent approach.  in my opinion, if there is no clear advantage in your version in terms of speed, min() and max() should be used because it improves readability.