Skip to content

Commit 4b54c1d

Browse files
committed
countl
1 parent 7e952a2 commit 4b54c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__bit/bit_log2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD
2525
template <class _Tp>
2626
_LIBCPP_HIDE_FROM_ABI constexpr _Tp __bit_log2(_Tp __t) noexcept {
2727
static_assert(is_unsigned<_Tp>::value, "__bit_log2 requires an unsigned integer type");
28-
return numeric_limits<_Tp>::digits - 1 - std::countl_zero(__t);
28+
return numeric_limits<_Tp>::digits - 1 - std::__countl_zero(__t);
2929
}
3030

3131
#endif // _LIBCPP_STD_VER >= 14

0 commit comments

Comments
 (0)