mathcat
mathcat copied to clipboard
MAX, MIN more than two given numbers
Hello as per max/min(a,b) i can only get max/min number of given two number. so my suggestion to find max,min of more than 2 given number.
example max/min(5,9,2,3,2,1) so output is 9 for max and 1 for min
Hi @TonyStark! I'm not actively maintaining this project, but this sould be relatively easy to implement. First, there's currently no support for functions with arbitrary arity, so some special value for arbitrary arity needs to be added and checked for in the evaluateFunc function. Then, the Min and Max functions in need to be updated to take an arbitrary amount of arguments.