mirror of
https://github.com/micropython/micropython.git
synced 2025-09-09 11:20:48 +02:00
These will run on all ports which support them, but importantly they'll also run on ports that don't support arbitrary precision but do support 64-bit long ints. Includes some test workarounds to account for things which will overflow once "long long" big integers overflow (added in follow-up commit): - uctypes_array_load_store test was failing already, now won't parse. - all the ffi_int tests contain 64-bit unsigned values, that won't parse as long long. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
3 lines
66 B
Python
3 lines
66 B
Python
# Check whether 64-bit long integers are supported
|
|
print(1 << 62)
|