MAX
Assign the first argument to your function result.
For each remaining argument:
Compare the algebraic value of your function result with the argument.
Assign the greater of the two to your function result.
Parent topic:
Mixed Functions