Important: The information in this document is obsolete and should not be used for new development.
WideShift
You can use theWideShift
function to shift bits in awide
number.
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 theshift
parameter is greater than 0, and to the left if theshift
parameter is less than 0. The result of a right shift is rounded.