contributed by < cin-cout >
題目
測驗一
延伸問題:
解釋上述程式碼原理,並用 __builtin_clzl 改寫
int __builtin_clz (unsigned int x)
Returns the number of leading 0-bits in x, starting at the most significant bit position. If x is 0, the result is undefined.
int __builtin_clzl (unsigned long)
Similar to __builtin_clz, except the argument type is unsigned long.
cin-cout changed 2 years agoView mode Like Bookmark