|
inlineconstexpr |
Computes the smallest integral power of two that is not smaller than x.
Defined in Header
Parameters
x : argument.Return value
The value of the smallest integral power of two that is not smaller than x is returned.
If that value is not representable in T, the behavior is undefined.
Masked Call
The call eve::bit_ceil[mask](x, ...) provides a masked version of bit_ceil which is equivalent to if_else(mask, bit_ceil(x, ...), x)
Example