4216bc7d13
This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
13 lines
162 B
Python
13 lines
162 B
Python
import micropython
|
|
|
|
|
|
# unsigned ints
|
|
@micropython.viper
|
|
def viper_uint() -> uint:
|
|
return uint(-1)
|
|
|
|
|
|
import sys
|
|
|
|
print(viper_uint() == (sys.maxsize << 1 | 1))
|