See also
The predicates
min_list/2 and max_list/2
from library library(lists)
This should really be extended to take vectors:
Big is max(ListOfExpressions).
Did you know ... | Search Documentation: |
Function max/2 |
nan
and one of the arguments evaluates to NaN,
the result is NaN.
The function maxr/2 is similar, but uses exact (rational) comparision if Expr1 and Expr2 have a different type, propagate the rational (integer) rather and the float if the two compare equal and propagate the non-NaN value in case one is NaN.
The predicates
min_list/2 and max_list/2
from library library(lists)
This should really be extended to take vectors:
Big is max(ListOfExpressions).