BitAnd
BitAnd[n1,n2,…]
gives the bitwise AND of the integers ni.
Details
- Integer mathematical function, suitable for both symbolic and numerical manipulation.
- BitAnd[n1,n2,…] yields the integer whose binary bit representation has ones at positions where the binary bit representations of all of the ni have ones.
- For negative integers BitAnd assumes a two's complement representation.
- BitAnd automatically threads over lists.
Examples
open allclose allBasic Examples (1)
Scope (3)
Applications (5)
Neat Examples (1)
Wolfram Research (1999), BitAnd, Wolfram Language function, https://reference.wolfram.com/language/ref/BitAnd.html.
Text
Wolfram Research (1999), BitAnd, Wolfram Language function, https://reference.wolfram.com/language/ref/BitAnd.html.
CMS
Wolfram Language. 1999. "BitAnd." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BitAnd.html.
APA
Wolfram Language. (1999). BitAnd. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BitAnd.html