4
3
2
3
100
  ***   at top-level: hammingweight(I)
  ***                 ^----------------
  *** hammingweight: incorrect type in hammingweight (t_COMPLEX).
[0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0]
#bitand
[0, 0, 0]
[0, 3, 0]
[0, -3, 0]
[0, 36893488147419103231, 0]
[0, 340282366920938463481821351505477763073, 0]
[0, -340282366920938463481821351505477763073, 0]
[0, I, error("forbidden bitwise and t_INT , t_COMPLEX.")]
[3, 3, 3]
[3, -3, 1]
[3, 36893488147419103231, 3]
[3, 340282366920938463481821351505477763073, 1]
[3, -340282366920938463481821351505477763073, 3]
[3, I, error("forbidden bitwise and t_INT , t_COMPLEX.")]
[-3, -3, -3]
[-3, 36893488147419103231, 36893488147419103229]
[-3, 340282366920938463481821351505477763073, 340282366920938463481821351505
477763073]
[-3, -340282366920938463481821351505477763073, -3402823669209384634818213515
05477763075]
[-3, I, error("forbidden bitwise and t_INT , t_COMPLEX.")]
[36893488147419103231, 36893488147419103231, 36893488147419103231]
[36893488147419103231, 340282366920938463481821351505477763073, 184467440737
09551617]
[36893488147419103231, -340282366920938463481821351505477763073, 18446744073
709551615]
[36893488147419103231, I, error("forbidden bitwise and t_INT , t_COMPLEX.")]
[340282366920938463481821351505477763073, 3402823669209384634818213515054777
63073, 340282366920938463481821351505477763073]
[340282366920938463481821351505477763073, -340282366920938463481821351505477
763073, 1]
[340282366920938463481821351505477763073, I, error("forbidden bitwise and t_
INT , t_COMPLEX.")]
[-340282366920938463481821351505477763073, -34028236692093846348182135150547
7763073, -340282366920938463481821351505477763073]
[-340282366920938463481821351505477763073, I, error("forbidden bitwise and t
_INT , t_COMPLEX.")]
[I, I, error("forbidden bitwise and t_COMPLEX , t_COMPLEX.")]
#bitnegimply
[0, 0, 0]
[0, 3, 0]
[0, -3, 0]
[0, 36893488147419103231, 0]
[0, 340282366920938463481821351505477763073, 0]
[0, -340282366920938463481821351505477763073, 0]
[0, I, error("forbidden bitwise negated imply t_INT , t_COMPLEX.")]
[3, 3, 0]
[3, -3, 2]
[3, 36893488147419103231, 0]
[3, 340282366920938463481821351505477763073, 2]
[3, -340282366920938463481821351505477763073, 0]
[3, I, error("forbidden bitwise negated imply t_INT , t_COMPLEX.")]
[-3, -3, 0]
[-3, 36893488147419103231, -36893488147419103232]
[-3, 340282366920938463481821351505477763073, -34028236692093846348182135150
5477763076]
[-3, -340282366920938463481821351505477763073, 34028236692093846348182135150
5477763072]
[-3, I, error("forbidden bitwise negated imply t_INT , t_COMPLEX.")]
[36893488147419103231, 36893488147419103231, 0]
[36893488147419103231, 340282366920938463481821351505477763073, 184467440737
09551614]
[36893488147419103231, -340282366920938463481821351505477763073, 18446744073
709551616]
[36893488147419103231, I, error("forbidden bitwise negated imply t_INT , t_C
OMPLEX.")]
[340282366920938463481821351505477763073, 3402823669209384634818213515054777
63073, 0]
[340282366920938463481821351505477763073, -340282366920938463481821351505477
763073, 340282366920938463481821351505477763072]
[340282366920938463481821351505477763073, I, error("forbidden bitwise negate
d imply t_INT , t_COMPLEX.")]
[-340282366920938463481821351505477763073, -34028236692093846348182135150547
7763073, 0]
[-340282366920938463481821351505477763073, I, error("forbidden bitwise negat
ed imply t_INT , t_COMPLEX.")]
[I, I, error("forbidden bitwise negated imply t_COMPLEX , t_COMPLEX.")]
#bitor
[0, 0, 0]
[0, 3, 3]
[0, -3, -3]
[0, 36893488147419103231, 36893488147419103231]
[0, 340282366920938463481821351505477763073, 3402823669209384634818213515054
77763073]
[0, -340282366920938463481821351505477763073, -34028236692093846348182135150
5477763073]
[0, I, error("forbidden bitwise or t_INT , t_COMPLEX.")]
[3, 3, 3]
[3, -3, -1]
[3, 36893488147419103231, 36893488147419103231]
[3, 340282366920938463481821351505477763073, 3402823669209384634818213515054
77763075]
[3, -340282366920938463481821351505477763073, -34028236692093846348182135150
5477763073]
[3, I, error("forbidden bitwise or t_INT , t_COMPLEX.")]
[-3, -3, -3]
[-3, 36893488147419103231, -1]
[-3, 340282366920938463481821351505477763073, -3]
[-3, -340282366920938463481821351505477763073, -1]
[-3, I, error("forbidden bitwise or t_INT , t_COMPLEX.")]
[36893488147419103231, 36893488147419103231, 36893488147419103231]
[36893488147419103231, 340282366920938463481821351505477763073, 340282366920
938463500268095579187314687]
[36893488147419103231, -340282366920938463481821351505477763073, -3402823669
20938463463374607431768211457]
[36893488147419103231, I, error("forbidden bitwise or t_INT , t_COMPLEX.")]
[340282366920938463481821351505477763073, 3402823669209384634818213515054777
63073, 340282366920938463481821351505477763073]
[340282366920938463481821351505477763073, -340282366920938463481821351505477
763073, -1]
[340282366920938463481821351505477763073, I, error("forbidden bitwise or t_I
NT , t_COMPLEX.")]
[-340282366920938463481821351505477763073, -34028236692093846348182135150547
7763073, -340282366920938463481821351505477763073]
[-340282366920938463481821351505477763073, I, error("forbidden bitwise or t_
INT , t_COMPLEX.")]
[I, I, error("forbidden bitwise or t_COMPLEX , t_COMPLEX.")]
#bitxor
[0, 0, 0]
[0, 3, 3]
[0, -3, -3]
[0, 36893488147419103231, 36893488147419103231]
[0, 340282366920938463481821351505477763073, 3402823669209384634818213515054
77763073]
[0, -340282366920938463481821351505477763073, -34028236692093846348182135150
5477763073]
[0, I, error("forbidden bitwise xor t_INT , t_COMPLEX.")]
[3, 3, 0]
[3, -3, -2]
[3, 36893488147419103231, 36893488147419103228]
[3, 340282366920938463481821351505477763073, 3402823669209384634818213515054
77763074]
[3, -340282366920938463481821351505477763073, -34028236692093846348182135150
5477763076]
[3, I, error("forbidden bitwise xor t_INT , t_COMPLEX.")]
[-3, -3, 0]
[-3, 36893488147419103231, -36893488147419103230]
[-3, 340282366920938463481821351505477763073, -34028236692093846348182135150
5477763076]
[-3, -340282366920938463481821351505477763073, 34028236692093846348182135150
5477763074]
[-3, I, error("forbidden bitwise xor t_INT , t_COMPLEX.")]
[36893488147419103231, 36893488147419103231, 0]
[36893488147419103231, 340282366920938463481821351505477763073, 340282366920
938463481821351505477763070]
[36893488147419103231, -340282366920938463481821351505477763073, -3402823669
20938463481821351505477763072]
[36893488147419103231, I, error("forbidden bitwise xor t_INT , t_COMPLEX.")]
[340282366920938463481821351505477763073, 3402823669209384634818213515054777
63073, 0]
[340282366920938463481821351505477763073, -340282366920938463481821351505477
763073, -2]
[340282366920938463481821351505477763073, I, error("forbidden bitwise xor t_
INT , t_COMPLEX.")]
[-340282366920938463481821351505477763073, -34028236692093846348182135150547
7763073, 0]
[-340282366920938463481821351505477763073, I, error("forbidden bitwise xor t
_INT , t_COMPLEX.")]
[I, I, error("forbidden bitwise xor t_COMPLEX , t_COMPLEX.")]
#bitneg
[0, 36893488147419103231, -1]
[3, 36893488147419103228, -4]
[-3, 2, 2]
[36893488147419103231, 0, -36893488147419103232]
[340282366920938463481821351505477763073, 18446744073709551614, -34028236692
0938463481821351505477763074]
[-340282366920938463481821351505477763073, 18446744073709551616, 34028236692
0938463481821351505477763072]
error("incorrect type in bitwise negation (t_COMPLEX).")
1
1
  ***   at top-level: bitneg(1,-2)
  ***                 ^------------
  *** bitneg: domain error in bitwise negation: exponent < -1
340282366920938463463374607431768211454
[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71,
 73, 79, 83, 89, 97, 100]
[0, 1, 4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 25, 26, 27, 28, 3
0, 32, 33, 34, 35, 36, 38, 39, 40, 42, 44, 45, 46, 48, 49, 50, 51, 52, 54, 5
5, 56, 57, 58, 60, 62, 63, 64, 65, 66, 68, 69, 70, 72, 74, 75, 76, 77, 78, 8
0, 81, 82, 84, 85, 86, 87, 88, 90, 91, 92, 93, 94, 95, 96, 98, 99, 100]
[100]
  ***   at top-level: x=0;bitset(~x,0)
  ***                     ^------------
  *** bitset: domain error in bitset: x == 0
  ***   at top-level: bitclear(~x,0)
  ***                 ^--------------
  *** bitclear: incorrect type in bitclear (t_POL).
  ***   at top-level: bitflip(~x,0)
  ***                 ^-------------
  *** bitflip: incorrect type in bitflip (t_POL).
4611686018427387904
  ***   at top-level: bitset(~x,63)
  ***                 ^-------------
  *** bitset: domain error in bitset: n > 62
  ***   at top-level: bitclear(~x,62)
  ***                 ^---------------
  *** bitclear: domain error in bitclear: n >= 62
  ***   at top-level: bitflip(~x,62)
  ***                 ^--------------
  *** bitflip: domain error in bitflip: n >= 62
9223372036854775807
  ***   at top-level: bitset(~x,63)
  ***                 ^-------------
  *** bitset: domain error in bitset: n > 62
  ***   at top-level: bitclear(~x,62)
  ***                 ^---------------
  *** bitclear: domain error in bitclear: n >= 62
  ***   at top-level: bitflip(~x,62)
  ***                 ^--------------
  *** bitflip: domain error in bitflip: n >= 62
Total time spent: 1
