Skip to content

Function prev_poweroftwo

function prev_poweroftwo(T) meta

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

Returns a nearest power of two that is less or equal than n

Fully qualified name: kfr::prev_poweroftwo(T)

Declared at meta.hpp:826

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