Files
pplus-library/mojo/probes/int-floordiv.mojo
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

6 lines
150 B
Mojo

# probe: does // floor toward negative infinity on Int?
def main():
var a = 7
var b = 2
print(a // b, (-a) // b, a // (-b), (-a) // (-b))