diff options
| author | gingerBill <bill@gingerbill.org> | 2020-05-31 13:50:17 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-05-31 13:50:17 +0100 |
| commit | bf5ce04b24936a5b68223a0bfcbef5cb395c4951 (patch) | |
| tree | 5ae390e08844819906d67e3fd7a860fc30422b81 /src/parser.cpp | |
| parent | 8057af9e0929a7a2c010752212e0c94e923c0744 (diff) | |
Improve rules for shifting behaviour
Example:
x: u64 = 123;
assert(x >> 64 == 0); // In C this would be 123 because (64 & 0b111111) == 0
a: u64 123;
assert(a << 64 == 0); // In C this would be 123 because (64 & 0b111111) == 0
Diffstat (limited to 'src/parser.cpp')
0 files changed, 0 insertions, 0 deletions