Order of Operations and Precedence

Calculations in the calculator are affected by the precedence order of operators within an expression. When combining multiple operators in a single expression, the calculator executes the operations according to a specific order. If an expression contains operators with equal precedence, the calculator evaluates them from left to right.

To change the evaluation order inside the expression, use parentheses to indicate the portion of the expression you wish to calculate first For example, the expression 5 + 2 * 3 returns 11, as multiplication is performed before addition. However, (5 + 2) * 3 returns 21, as the operation within the parentheses is calculated first.

 Order  Operator  Explanation
 1 ( ) Parentheses: Promotes the evaluation order of the enclosed part.
▸   2 + 4 × 3 = 14
▸   (2 + 4) × 3 = 18
 2 - Unary Minus This operator changes the sign of its argument from positive to negative and vice versa.
▸   -1^2 is evaluated as (-1)^2  and not as  -(1^2)
 3   Postfix Operators:
   ȧ
 Ⱥ
 ȳ
Power of ▸   sin8^2 is evaluated as  sin(8)^2
▸   sin82  is evaluated as sin(8^2)
   % Percentage
   ! Factorial

 4  ^ Power ▸   2^3×10 is evaluated as (2^3)×10 not as 2^(3×10)
 5  × Multiplication

   / Division
    Root, Square Root
   mod Modulo
    Polar Operator (r θ)

 6  + Additional
   - Subtraction

 7   Bitwise Shifts And Rotation:
   << SHLn (Arithmetic Left-Shift)
   >> SHRn (Arithmetic Right-Shift)
   >>> USHRn (Logical Right-Shift)
   ƥ ROLn (Logical left-rotate)
   Ʀ RORn (Logical right-rotate)

 8  Ɩ Bitwise AND
   ƚ Bitwise NAND

 9  Ƙ Bitwise XOR
   Ƨ Bitwise XNOR

 10  Ɨ Bitwise OR
   ƛ Bitwise NOR


Functions

Functions can generally be entered without parentheses when passing numbers, although some cases require their use. The examples below illustrate how to pass parameters to functions with and without parentheses.

Examples:

Complex Number

The evaluation of the imaginary unit 'i' in a complex number is performed using a multiplication operation.

Examples: