Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Bitwise Operations >

BitShiftRight

BitShiftRight[n, k]
shifts the binary bits in the integer n to the right by k places, dropping bits that are shifted past the unit's position on the right.
BitShiftRight[n]
shifts one bit to the right.
  • Negative values of k shift to the left.
New in 6
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team