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