Bitstring function – AND.
This page describes the legacy function $ZBITAND
. It is described here for compatibility with legacy applications.
returns a bitstring formed by the (bitstring1
) operation. The length of the resulting bitstring equals the length of the shorter of the two specified bitstrings. The value of the resulting bitstring is 1 in all positions where both bitstrings held a 1, and 0 in all other positions.
= [0,1,1,0] and bitstring2
= [0,1,0,0], then the result of $ZBITAND
would be [0,1,0,0]. That is: