std::log2p1 (3) Linux Manual Page
std::log2p1 – std::log2p1 Synopsis Defined in header <bit> template< class T > (since C++20) constexpr T log2p1(T x) noexcept; If x is not zero, calculates the number of bits needed to store the value x, that is, \(1 + \lfloor log_2(x) \rfloor\)1 + floor(log 2(x)). If x is zero, returns zero. This overload only participates…
