right
Name | Type | Description | Optional |
---|---|---|---|
a |
?0 |
number |
no |
b |
?0 |
number |
no |
Name | Type | Description | Optional |
---|---|---|---|
c |
?0 |
right shift of a by b |
no |
right
outputs the results of right-shifting its first input by its second. The second input is interpreted modulo the number of bits in the data type ?0. In other words, if ?0 is a 64-bit integer type, then the low six bits of b
are used to perform the shift and the other bits of b
are ignored. right
performs an arithmetic right shift if ?0 is a signed type, and a logical right shift if ?0 is an unsigned type.