Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Bitwise Operations >

BitGet

BitGet[n, k]
gets the bit corresponding to the coefficient of 2^k in the integer n.
  • BitGet[n, k] gets the bit k places from the right.
  • BitGet represents the bits it retrieves as 0 or 1.
New in 6
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team