mirror of
https://github.com/micropython/micropython.git
synced 2025-09-05 17:30:41 +02:00
9 lines
158 B
Python
9 lines
158 B
Python
import micropython
|
|
|
|
# unsigned ints
|
|
@micropython.viper
|
|
def viper_uint() -> uint:
|
|
return uint(-1)
|
|
import sys
|
|
print(viper_uint() == (sys.maxsize << 1 | 1))
|