996 Worker's Blog
Index
Moments
Tags
Archives
Gallery
Guestbook
Links
About
Travelling
登录
菜单
Index
Moments
Tags
Archives
Gallery
Guestbook
Links
About
Travelling
常用位运算
996Worker
发布于 2021-11-16
/
324 阅读
0
0
常用位运算
#Notes
记录
从低位到高位获得第i位的二进制数字:
(a >> i) & 1
乘2:
n << 1
除以2:
n >> 1
奇偶判断(当为奇数/(n%2 != 0), 为true):
(n & 1) == 1
Unsupported class...
SSL握手的知识点复习
评论