Rolls and modifiers
Arithmetic and functions
Operators, precedence, decimals, and every supported math function.
Operators
Use +, -, *, /, % (remainder), ^ or ** (power). Powers precede multiplication/division/remainder, which precede addition/subtraction. Powers associate to the right: 2^3^2 means 2^(3^2). Parentheses override this order. Unary signs and decimals work; normalization simplifies +- and --.
One-argument functions
An argument can contain a full expression, including dice.
Two-argument functions
min(a,b) returns the smaller value, max(a,b) the larger, and pow(a,b) computes a power. These differ from the minN/maxN modifiers, which transform each face.
Division by zero and functions producing a non-finite result raise NON_FINITE_RESULT. Intermediate operations follow decimal12-v1; the final total has two decimal places.