Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
language:expressions [2024/03/20 07:18]
rajit [Operator Precedence]
language:expressions [2024/03/20 07:19]
rajit [Operator Precedence]
Line 249: Line 249:
 An example of file I/O implemented with external functions can be found in the ''actsim'' [[https://github.com/asyncvlsi/actsim|git repository]] in the ''simlib/'' directory. An example of file I/O implemented with external functions can be found in the ''actsim'' [[https://github.com/asyncvlsi/actsim|git repository]] in the ''simlib/'' directory.
  
-==== Operator Precedence ====+=== Operator Precedence ===
  
 The operators have the following precedence, from the highest to lowest: The operators have the following precedence, from the highest to lowest:
Line 255: Line 255:
    - ''*'', ''/'', ''%''    - ''*'', ''/'', ''%''
    - ''+'', ''-''    - ''+'', ''-''
-   - ''<<'', ''>>'', ''>>>'', ''<'', ''>'', ''<='', ''>='', ''=='', ''!=''+   - ''<<'', ''>>'', ''>>>'', ''<'', ''>'', ''<='', ''>='', ''='', ''!=''
    - ''&''    - ''&''
    - ''^''    - ''^''