discard """ output: "" """ import strutils const x = [1'i32, -1, -10, 10, -10, 10, -20, 30, -40, 50, 7 shl 28, -(7 shl 28), 7 shl 28, -(7 shl 28)] const y = [-1'i32, 1, -10, -10, 10, 10, -20, -30, 40, 50, 1 shl 30, 1 shl 30, -(1 shl 30), -(1 shl 30)] const res_xor = block: var tmp: seq[int64] for i in 0 ..< x.len: tmp.add(int64(x[i] xor y[i])) tmp const res_and = block: var tmp: seq[int64] for i in 0 ..< x.len: tmp.add(int64(x[i] and y[i])) tmp const res_or = block: var tmp: seq[int64] for i in 0 ..< x.len: tmp.add(int64(x[i] or y[i])) tmp const res_not = block: var tmp: seq[int64] for i in 0 ..< x.len: tmp.add(not x[i]) tmp let xx = x let yy = y for i in 0..