Some Unbounded Array Framework (UAF) functions can take user-defined formulas as input. The operation precedence for the functions are as follows:
- First precedence: Unary addition and unary subtraction
- Second precedence: Exponential
- Third precedence: Multiplication and division
- Fourth precedence: Addition and subtraction
The order for evaluation for the formulas is as follows:
- Elements in parentheses are performed first.
- When no parentheses are present, operations are performed in order of precedence.
- Operators of the same precedence are evaluated from left to right.