Previous: 4.45.2.40. LogN function To the Table of Contents Next: 4.45.2.42. LRotR function
4.45.2.40. LogN function Table of Contents 4.45.2.42. LRotR function

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


4.45.2.41. LRotL 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.40. LogN function To the Table of Contents Next: 4.45.2.42. LRotR function
4.45.2.40. LogN function Table of Contents 4.45.2.42. LRotR function

- 4.45.2.41. -