| Polaris: rotate.h Source File | ||
|
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
rotate.hGo to the documentation of this file.00001 /// Rotate.h 00002 /// 00003 #ifndef ROTATE_H 00004 #define ROTATE_H 00005 /// 00006 #include <values.h> 00007 /// 00008 inline unsigned rotate_right(unsigned val) 00009 { 00010 return (val >> 1) | (val << (sizeof(unsigned) * BITSPERBYTE - 1)); 00011 } 00012 /// 00013 #endif |
||
|