e2 docs bitwise - wiremod/wire GitHub Wiki
Bitwise
= bAnd(
A,
B)
Performs bitwise AND against the two numbers (2 ops)
= bOr(
A,
B)
Performs bitwise OR against the two numbers (2 ops)
= bXor(
A,
B)
Performs bitwise XOR against the two numbers (2 ops)
= bShr(
A,
B)
Performs bitwise shift right on the first number by the amount of the second (2 ops)
= bShl(
A,
B)
Performs bitwise shift left on the first number by the amount of the second (2 ops)
= bNot(
N)
Performs a binary Not (2 ops)
= bNot(
N,
Bits)
Performs a binary Not. The second argument is the length of the number you wish to perform Not on in bits (2 ops)