Question: Bits[And] ?

I want to use the Bits package, but have troubles - may be a bug?

I do not understand the following (Maple 15), where the help says "The And
command computes the bit-wise logical and of the inputs ... "

  with(Bits);
  Settings(defaultbits=4); # poor help text for that ...

  4; Split(%);
                             [0, 0, 1, 0]
  3; Split(%);
                             [1, 1, 0, 0]

For my taste that is a reversed order, but so what. Now do a bit-wise AND:

That should result in

  [0,0,0,1]:
  a:=Join(%);
                                a := 8
  Split(a);
                             [0, 0, 0, 1]

the command is

  And(4,3);
                                  0

which is some natural number (I think modulo 2^(defaultbits-1), yes?)
and the bit presentation would be using the Split command

  Split(%);
                             [0, 0, 0, 0]
Please Wait...