muu/bit_floor.h file

Contains the definition of muu::bit_floor().

Namespaces

namespace muu
The root namespace for all muu functions and types.

Functions

template <typename T>
auto bit_floor(T val) -> T constexpr noexcept
Finds the largest integral power of two not greater than the given value.