micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# test integer floor division and modulo
|
||||
|
||||
# this tests bignum modulo
|
||||
a = 987654321987987987987987987987
|
||||
b = 19
|
||||
print(a % b)
|
||||
print(a % -b)
|
||||
print(-a % b)
|
||||
print(-a % -b)
|
Reference in New Issue
Block a user