Index    EarthC language


Operators

aritmetic operators:

+    //unary and dual
-    //
unary and dual
/
%
*
++
--

comparision operators:

<
>
<=
>=
==
!=

logical operators:

!
&&
||

bitwise operators

~
&
|

assign operators
=

member selector

.

parenthesis
(
)

operator precedence

1. ( ) .
2. ! ~ +(unary) - (unary) ++ --
3. * / % &
4. + - |
5. < > <= >= == !=
6. &&
7. ||
8. =