Submodules
Constants
Procedures
and

The resulting integer's bit is 1 if both corresponding source bits are 1.

Arguments

arg0 - int

arg1 - int

Returns

int

lshift

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

not

The resulting integer's bit is 1 if the corresponding source bit is 0.

Arguments

arg0 - int

Returns

int

or

The resulting integer's bit is 1 if at least one corresponding source bit is 1.

Arguments

arg0 - int

arg1 - int

Returns

int

rshift

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

urshift

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

xor

The resulting integer's bit is 1 if only one corresponding source bit is 1.

Arguments

arg0 - int

arg1 - int

Returns

int