Skip to content

Commit

Permalink
update numbers and operations tables (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
kentslaney authored Oct 29, 2024
1 parent fb21101 commit d810782
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,8 @@ Currently, the 3 number types cannot be mixed.
| Bitwise And | x & y | int, uint |
| Bitwise Or | x \| y | int, uint |
| Bitwise Xor | x ^ y | int, uint |
| Bitwise Right Shift | x >> y | uint |
| Bitwise Left Shift | x << y | uint |

Hexadecimal and binary floating-point literals are also supported.

Expand Down Expand Up @@ -1173,6 +1175,8 @@ Currently, the 3 number types cannot be mixed.
| Bitwise And | (& x y) | int, uint |
| Bitwise Or | (\| x y) | int, uint |
| Bitwise Xor | (^ x y) | int, uint |
| Bitwise Right Shift | (>> x y) | uint |
| Bitwise Left Shift | (<< x y) | uint |

Hexadecimal and binary floating-point literals are also supported.

Expand Down

0 comments on commit d810782

Please sign in to comment.