Find the largest number from a set of define and set a define from the answer

wow that worked too, but where is this ' max ' coming from? its just built in?