64-bit band operation

1

I know that in Moon 5.3 ( demo ) there are 64-bit bit operators, like:

print(0xaaDbc4Cd17Af & 0xff00000000) --> DB 00 00 00 00

Is there any algorithm to perform a similar operation on other versions? The Moon I run comes with the bit32 library respectively.

    
asked by anonymous 29.04.2017 / 20:28

1 answer

1

As the name says, the bit32 library does not support 64 bits, only 32 bits.

If you need 64 bits yourself, you will have to implement your own library using eg strings instead of numbers.

    
02.05.2017 / 23:56