Miscellaneous operators
Keywords: pame

#
Miscellaneous operators

The operators `MAX` and `MIN` are defined for any combination of `INT` and `REAL` operands and yield the maximum, or minimum, of two values. They can also be combined in the same formula:

       INT max min = 345 MAX 249 MIN 1000

which yields `345`. Like `+`, `-`, and `*`, they only yield a value of mode `INT` if both their operands are `INT`. Otherwise, they yield a value of mode `REAL`. They both have a priority of 9.