|
| _prior_| Summary | |
#include <intrins.h>
int _prior_ (
int value); /* value to normalize */
| | Description | | The _prior_ routine uses the PRIOR instruction to count the number of shifts required to normalize value. The value returned is a number from 0 to 15 which indicates how many times value must be shifted left before the MSB is set. | | Return Value | | The _prior_ function returns the number of shifts required to normalize value. | | See Also | | _priord_ | | Example | |
#include <intrins.h>
void testprior (int val) {
volatile int temp;
temp = _prior_ (val);
}
|
Related Knowledgebase Articles
|
|
|