VocabularymathInputsOutputsWord descriptionOutputs a new integer where each bit is set if and only if the corresponding bit is set in both inputs.
ExamplesUSING: math prettyprint ;
0b101 0b10 bitand .b
0b0
USING: math prettyprint ;
0b110 0b10 bitand .b
0b10
NotesThis word implements bitwise and, so applying it to booleans will throw an error. Boolean and is the
and word.
DefinitionMethods