bayesia logo

Arithmetic Operators

The priority of the operators is defined from 1 to 9, 9 being the strongest priority.

^

Description: Exponentiation operator.

Number of Parameters: 2

Parameter type: numerical, integer

Result type: numerical

Priority: 9

Description: Negation operator.

Number of Parameter: 1

Parameter type: numerical

Result type: numerical

Priority: 8

%

Description: Modulo operator.

Number of Parameters: 2

Parameter type: integer, integer

Result type: integer

Priority: 7

*

Description: Multiplication operator.

Number of Parameters: 2

Parameter type: numerical, numerical

Result type: numerical

Priority: 7

/

Description: Division operator.

Number of Parameters: 2

Parametert type: numerical, numerical

Result type: real

Priority: 7

+, -

Description: Addition and subtraction operators.

Number of Parameters: 2

Parameter type: numerical, numerical

Result type: numerical

Priority: 6


Copyright © 2025 Bayesia S.A.S., Bayesia USA, LLC, and Bayesia Singapore Pte. Ltd. All Rights Reserved.