|
inline |
Computes a logical left shift.
Defined in Header
Parameters
x : argument(eve::value). to be shifted.n: shift.Return value
The value of the logical left shift is returned.
bit_shl(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_shl[mask](x, ...) provides a masked version of bit_shl which is equivalent to if_else(mask, bit_shl(x, ...), x)
Example