##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: October 2016 # Modified: 2016-10-08/06:21-0400 ##+ # # ixor.icn, bitwise XOR of two integers # link printf procedure main() i1 := 7 i2 := 3 write(printf("ixor(%d, %d) = %d", i1, i2, ixor(i1, i2))) # create some large integers i1 := 2^66 + 7 i2 := 2^67 + 2^66 + 3 write(printf("ixor(%d, %d) = %d", i1, i2, ixor(i1, i2))) end