Function gkfs::utils::arithmetic::log2
Defined in File arithmetic.hpp
Function Documentation
-
constexpr std::size_t gkfs::utils::arithmetic::log2(uint64_t n)
Compute the base2 logarithm for 64 bit integers.
- Parameters
n – [in] the number from which to compute the log2.
- Returns
the base 2 logarithm of
n
.