Fix UBSan error with overflowing exponent operator (#1727)

This commit is contained in:
Rangi
2025-07-07 19:08:26 -04:00
committed by GitHub
parent c9765ec158
commit 1a77667409
5 changed files with 27 additions and 11 deletions

View File

@@ -34,6 +34,12 @@ def x = x << 1
dl -1 << 1
print_x
def x = 2 ** 31
print_x
def x = 5 ** 29
print_x
def x = 4294967295
def x = 4294967296