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 3702c84 commit 95a4638Copy full SHA for 95a4638
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