This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

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


FilledSmallSquare BitShiftLeft[n, d] shifts the binary bits in the integer n to the left by d places, padding with zeros on the right.

FilledSmallSquare BitShiftLeft[n, d] is equivalent to n 2^d.

FilledSmallSquare Negative values of d shift to the right.