lshift#

swordfish.function.lshift()#

Shift the binary representation of X to the left by bits. The bits on the right are filled with zeros.

Parameters:
  • X (Constant) – An integral scalar/pair/vector/matrix/table.

  • bits (Constant) – The number of bits to shift.