Module bitwise

Source
Expand description

Bitwise operations (AND, OR, XOR, NOT, etc.).

Functionsยง

bitand
Implements the AND instruction.
bitor
Implements the OR instruction.
bitxor
Implements the XOR instruction.
byte
Implements the BYTE instruction.
clz
Implements the CLZ instruction - count leading zeros.
eq
Implements the EQ instruction.
gt
Implements the GT instruction - greater than comparison.
iszero
Implements the ISZERO instruction.
lt
Implements the LT instruction - less than comparison.
not
Implements the NOT instruction.
sar
EIP-145: Bitwise shifting instructions in EVM
sgt
Implements the SGT instruction.
shl
EIP-145: Bitwise shifting instructions in EVM
shr
EIP-145: Bitwise shifting instructions in EVM
slt
Implements the SLT instruction.