tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
countl_one.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<etl::builtin_unsigned_integer UInt>
constexpr auto countl_one (UInt x) noexcept -> int
 Returns the number of consecutive 1 ("one") bits in the value of x, starting from the most significant bit ("left").