asc.language.tile.binary_ops.right_shift

asc.language.tile.binary_ops.right_shift(input: Tile, other: PlainValue | int) Tile

Computes the element-wise right shift (bitwise) of input and other.

Parameters:
  • input – the left operand (tile or scalar)

  • other – the right operand (tile or scalar)

Returns:

the result of right shift (bitwise)

Return type:

Tile

Note

At least one of input operands must be Tile.

This function can also be called as a member function on Tile, as x.__rshift__(...) instead of right_shift(x, ...).