| Summary | |
#include <intrins.h>
unsigned int _irol_ (
unsigned int i, /* integer to rotate left */
unsigned char b); /* bit positions to rotate */
|
| Description | | The _irol_ routine rotates the bit pattern for the integer i left b bits. This routine is implemented as an intrinsic function. |
| Return Value | | The _irol_ routine returns the rotated value of i. |
| See Also | | _crol_, _cror_, _iror_, _lrol_, _lror_ |
| Example | |
#include <intrins.h>
void test_irol (void) {
int a;
int b;
a = 0xA5A5;
b = _irol_(a,3); /* b now is 0x2D2D */
}
|