Skip to content

Function ilog2

function ilog2(T) meta

template <std::unsigned_integral T>
constexpr KFR_INTRINSIC unsigned ilog2(T n) noexcept { … }

Returns the base-2 logarithm of

n , truncated toward zero; ilog2(0) and ilog2(1) return 0

Fully qualified name: kfr::ilog2(T)

Declared at meta.hpp:812

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.