Important: The information in this document is obsolete and should not be used for new development.
WideShift
You can use theWideShiftfunction to shift bits in awidenumber.
wide *WideShift(wide *target, long shift);
target- A pointer to the number for which the bits are to be shifted. On return, contains the shifted number.
shift- The number of bits by which the target is to be shifted to the right.
- function result
- A pointer to the target number.
DESCRIPTION
The shift direction is to the right (a decrease in magnitude) if theshiftparameter is greater than 0, and to the left if theshiftparameter is less than 0. The result of a right shift is rounded.