函数宏实现循环左移

时间:2014-02-08 17:27:03   收藏:0   阅读:932
/*
 * 循环左移
 */
#define LeftRotate(word, bits) ( (word) << (bits) | (word) >> (32 - (bits)) )

原文:http://www.cnblogs.com/liubaocheng999/p/3540368.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!