|
inlineconstexpr |
Computes a logical right shift.
Defined in Header
Parameters
x : argument(eve::value). to be shifted.n: shift.Return value
The value of the logical right shift is returned.
bit_shr(x, n) is equivalent to x >> n if x is an simd value.T, all elements of n must belong to the interval: \([0, N[\) or the result is undefined.Masked Call
The call eve::bit_shr[mask](x, ...) provides a masked version of bit_shr which is equivalent to if_else(mask, bit_shr(x, ...), x)
Example