Is one able to to use bitwise operators in the GAP programming language? For example, in Python one can do the following:
a = 60 # 60 = 0011 1100
b = 13 # 13 = 0000 1101
c = 0
c = a & b; # 12 = 0000 1100
c = a | b; # 61 = 0011 1101
c = a ^ b; # 49 = 0011 0001
c = ~a; # -61 = 1100 0011
c = a << 2; # 240 = 1111 0000
c = a >> 2; # 15 = 0000 1111
I'd like to be able to do all of the above operations in GAP, but I can't seem to find anything in the documentation.
Here is a link to the documentation: https://www.gap-system.org/Manuals/doc/ref/chap0.html