We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e952a2 commit 4b54c1dCopy full SHA for 4b54c1d
libcxx/include/__bit/bit_log2.h
@@ -25,7 +25,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD
25
template <class _Tp>
26
_LIBCPP_HIDE_FROM_ABI constexpr _Tp __bit_log2(_Tp __t) noexcept {
27
static_assert(is_unsigned<_Tp>::value, "__bit_log2 requires an unsigned integer type");
28
- return numeric_limits<_Tp>::digits - 1 - std::countl_zero(__t);
+ return numeric_limits<_Tp>::digits - 1 - std::__countl_zero(__t);
29
}
30
31
#endif // _LIBCPP_STD_VER >= 14
0 commit comments