|
inlineconstexpr |
Parameters
x
: argument to be shifted.n
: shift.c
: Conditional expression masking the operation.m
: Logical value masking the operation.Return value
if_else(n>0, shl(x, n), shr(x, -n))
. If N
is the size in bits of the element type of T
, all elements of n must belong to the interval: ]-N, N[
or the result is undefined.