shiftRightLogical (Function)

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

Description: Logical right shift of a's bits, total: a count outside 0..63 yields 0. Performs no Arith operation.

Parameters

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

Returns: t0

Example

print(shiftRightLogical(-16, 2))  // 4611686018427387900
print (shiftRightLogical (-16, 2))  // 4611686018427387900