The resulting integer's bit is 1 if both corresponding source bits are 1.
Arguments
arg0 - int
arg1 - int
Returns
int
Shifts the bits in the first parameter by the number of bits specified by the second parameter to the left. The leftmost bits fall off, and newly inserted bits are 0.
Arguments
arg0 - int
arg1 - int
Returns
int
The resulting integer's bit is 1 if the corresponding source bit is 0.
Arguments
arg0 - int
Returns
int
The resulting integer's bit is 1 if at least one corresponding source bit is 1.
Arguments
arg0 - int
arg1 - int
Returns
int
Preserves the sign! For zero-fill shifting, use std::bw::urshift. Shifts the bits in the first parameter by the number of bits specified by the second parameter to the right. The rightmost bits fall off, and newly inserted bits are copies of the leftmost bit.
Arguments
arg0 - int
arg1 - int
Returns
int
Does not preserve the sign! For sign-preserving shifting, use std::bw::rshift. Shifts the bits in the first parameter by the number of bits specified by the second parameter to the right. The rightmost bits fall off, and newly inserted bits are 0.
Arguments
arg0 - int
arg1 - int
Returns
int
The resulting integer's bit is 1 if only one corresponding source bit is 1.
Arguments
arg0 - int
arg1 - int
Returns
int