This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# probe: what sign does % give with negative operands?
|
||||
def main():
|
||||
var a = 7
|
||||
var m = 3
|
||||
print(a % m, (-a) % m, a % (-m), (-a) % (-m))
|
||||
Reference in new issue
Block a user