Binary Operators

Binary operators associate from left to right. CLight provides the following binary operators:

Symbol
Name

* / %

Multiplicative operators

+ -

Additive operators

< > <= >= == !=

Relational operators

Syntax

binary-operator: + - * / % == != < <= > >=

Example

4 + 3
7 != 1
0 == 2

Last updated