Mathematica 9 is now available

Documentation / Mathematica / The Mathematica Book / Mathematica Reference Guide / Developer Context Objects in Mathematica 5 /

Developer`BitShiftRight

FilledSmallSquare BitShiftRight[n, d] shifts the binary bits in the integer n to the right by d places, dropping bits that are shifted past the units position on the right.

FilledSmallSquare BitShiftRight[n, d] is equivalent to IntegerPart[n/2^d].

FilledSmallSquare Negative values of d shift to the left.

FilledSmallSquare See also: MantissaExponent.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.