Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Bitwise Operations >

BitAnd

BitAnd[n1, n2, ...]
gives the bitwise AND of the integers ni.
  • 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.
New in 4
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team