Lines Matching refs:__libcpp_clz
131 /// Instead of using IntegerLogBase2 it uses __libcpp_clz. Since that
137 auto __t = (32 - std::__libcpp_clz(static_cast<type>(__v | 1))) * 1233 >> 12;
158 /// Instead of using IntegerLogBase2 it uses __libcpp_clz. Since that
163 auto __t = (64 - std::__libcpp_clz(static_cast<type>(__v | 1))) * 1233 >> 12;
183 /// Instead of using IntegerLogBase2 it uses __libcpp_clz. Since that
190 auto __t = (128 - std::__libcpp_clz(static_cast<uint64_t>(__v >> 64))) * 1233 >> 12;
368 // that __libcpp_clz doesn't work for 0.)
369 return numeric_limits<_Tp>::digits - std::__libcpp_clz(__value | 1);
403 // that __libcpp_clz doesn't work for 0.)
404 return ((numeric_limits<_Tp>::digits - std::__libcpp_clz(__value | 1)) + 2) / 3;
439 // that __libcpp_clz doesn't work for 0.)
440 return (numeric_limits<_Tp>::digits - std::__libcpp_clz(__value | 1) + 3) / 4;