Math.RShift¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The integer or the sequence of integers to shift the bits of. | Int Int2 Int3 Int4 Int8 Int16 Color [Any] |
||
Output ➡️ |
Outputs the value resulting from the right shift operation. | Int Int2 Int3 Int4 Int8 Int16 Color [Any] |
||
Operand |
No | The number of positions to shift the bits of the input value to the right by. | 0 |
Int Int2 Int3 Int4 Int8 Int16 Color [Any] |
This shard shifts the bits of the input value to the right by the number of positions specified in the Operand parameter. The shard then outputs a value, whose binary representation is the resulting shifted binary.
Examples¶
1 2 |
|
[info] [sample-wire] 1