vrshift ( v n -- w )
Factor handbook » The language » Numbers » Vector operations » Vector component- and bit-wise logic

Prev:vlshift ( v n -- w )
Next:vand ( u v -- w )


Vocabulary
math.vectors

Inputs
va sequence of integers
na non-negative integer


Outputs
wa sequence of integers


Word description
Shifts each element of v to the right by n bits.

Notes
Undefined behavior will result if n is negative.

Definition


Methods