# test % operation on big integersdelta=100000000000000000000000000000012345foriinrange(11):forjinrange(11):x=delta*(i-5)y=delta*(j-5)ify!=0:print(x%y)# these check an edge case on 64-bit machines where two mpz limbs# are used and the most significant one has the MSB setx=0x8000000000000000print((x+1)%x)x=0x86c60128feff5330print((x+1)%x)