shiftLeft (Function)

Signature: shiftLeft(a: t0, n: t0) -> t0

Description: a << n, total: a count outside 0..63 yields 0, the limit of repeated shifting. Performs no Arith operation.

Parameters

  • a (t0): The word to shift
  • n (t0): The shift count

Returns: t0

Example

print(shiftLeft(1, 40))  // 1099511627776
print (shiftLeft (1, 40))  // 1099511627776