Computes bitwise AND of two or more bytes. A resulting bit at a particular position is 1 only if corresponding bits of all inputs are 1.
bitwise-and
@/bitwise-and
Computes bitwise AND of two or more bytes. A resulting bit at a particular position is 1 only if corresponding bits of all inputs are 1.
#pragma XOD dirtieness disable
node {
void evaluate(Context ctx) {
auto in1 = getValue<input_IN1>(ctx);
auto in2 = getValue<input_IN2>(ctx);
emitValue<output_OUT>(ctx, in1 & in2);
}
}