膜拜mstlq:https://bbs.csdn.net/topics/330068401
//find the Power of 2 that Greater than or Equal to x |
改一下就是我们要的
//x = 0时结果未定义 |
也可以用__builtin_clz
//x = 0时结果未定义 |
膜拜mstlq:https://bbs.csdn.net/topics/330068401
//find the Power of 2 that Greater than or Equal to x |
//x = 0时结果未定义 |
//x = 0时结果未定义 |
Except as otherwise noted, this blog is licensed under CC BY-SA 4.0 License.
©2021-
searchstar
|
pv
|
uv
Theme Tree
by Wu Jun
Powered by Hexo