# check modulo matches python definition # TODO we currenty fail with this if False: print(1.23456 % 0.7) print(-1.23456 % 0.7) print(1.23456 % -0.7) print(-1.23456 % -0.7) a = 1.23456 b = 0.7 print(a % b) print(a % -b) print(-a % b) print(-a % -b)