WPILibC++ 2024.3.2
log2.hpp File Reference
#include <cmath>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  gcem
 
namespace  gcem::internal
 

Functions

template<typename T >
constexpr return_t< T > gcem::internal::log2_check (const T x) noexcept
 
template<typename T >
constexpr return_t< T > gcem::log2 (const T x) noexcept
 Compile-time binary logarithm function. More...