You are here: Symbol Reference > MtxExprInt Namespace > Classes > MatrixInt Record > public > BitShift Method > MatrixInt.BitShift Method (TMtxVecInt, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
MatrixInt.BitShift Method (TMtxVecInt, integer)

Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in Src.

Pascal
function BitShift(const Src: TMtxVecInt; const Bits: integer): TMtxVecInt; overload;

the result of binary shift to the left or right by number of Bits applied to Src values and stored in the calling object (Self). The sign of the numbers is preserved when doing right shift.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!