Previous: 4.45.2.41. LRotL function To the Table of Contents Next: 4.45.2.43. Max function
4.45.2.41. LRotL function Table of Contents 4.45.2.43. Max function

- 4.45.2.42. -
Table of Contents
4. Standard Units
4.45. Math - Extended Mathematics unit
4.45.2. Math Unit Procedures and Functions
4.45.2.42. LRotR function


4.45.2.42. LRotR function

Targets: MS-DOS, OS/2, Win32


Math Unit

Rotate bits to the left (LRotL) or right (LRotR).

Declaration:
function LRotL(Value, Shift: DWORD): DWORD;
function LRotR(Value, Shift: DWORD): DWORD;
Remarks:
The LRotL and LRotR functions rotate Value by Shift bits. LRotL rotates the value left. LRotR rotates the value right. Both functions “wrap” bits rotated off one end of Value to the other end.


Previous: 4.45.2.41. LRotL function To the Table of Contents Next: 4.45.2.43. Max function
4.45.2.41. LRotL function Table of Contents 4.45.2.43. Max function

- 4.45.2.42. -