Math function call node (floor(expr), max(a, b, ...), etc.).
Supports the fixed-arity functions floor, ceil, round, abs, and the
variadic functions max, min (minimum 2 args). Arity is validated at
parse time against a static table; by the time the evaluator sees a
FunctionCallNode, args.length is guaranteed to match the function.
max/min are variadic with no upper bound, so max(1d20, 1d20, 1d20)
is a valid three-way advantage roll.
Math function call node (
floor(expr),max(a, b, ...), etc.).Supports the fixed-arity functions
floor,ceil,round,abs, and the variadic functionsmax,min(minimum 2 args). Arity is validated at parse time against a static table; by the time the evaluator sees aFunctionCallNode,args.lengthis guaranteed to match the function.max/minare variadic with no upper bound, somax(1d20, 1d20, 1d20)is a valid three-way advantage roll.