JCL Help:RRot@Byte@TBitRange
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: RRot Function
[+] JclLogic.pas Functions
Search in JCL Help
Search in all projects
Summary
Right rotates bits.
Pascal
function RRot(const Value: Byte; const Count: TBitRange): Byte; overload;
function RRot(const Value: Word; const Count: TBitRange): Word; overload;
function RRot(const Value: Integer; const Count: TBitRange): Integer; overload;
function RRot(const Value: Int64; const Count: TBitRange): Int64; overload;
Parameters
Parameters | Description |
const Value: Byte | The Value whose bits to rotate. |
Mask | The number of times to rotate. |
Return Value
The resulting integer after the rotation is performed.
Description
RRot shifts the bits in Value the specified number (Count) of times to the right. On each shift the bit in the lowest bit position wraps around into the highest.
See Also
About
Unit
Donator
Marcel van Brakel
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page