summaryrefslogtreecommitdiff
path: root/py/objcode.c
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2025-03-26 11:07:52 +1100
committerDamien George <damien@micropython.org>2025-07-18 00:12:05 +1000
commit516aa02104c3344903bdda078b7c87f71f94938d (patch)
treedb852578d823aab814afbf05124dfea8e0b9c464 /py/objcode.c
parentd07f103d68d8bb1b65cba047b9bef093b9375ebd (diff)
py/objint_longlong: Add arithmetic overflow checks.
Long long big integer support now raises an exception on overflow rather than returning an undefined result. Also adds an error when shifting by a negative value. The new arithmetic checks are added in the misc.h header. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'py/objcode.c')
0 files changed, 0 insertions, 0 deletions