Jlm
Namespaces | Functions
Math.hpp File Reference
#include <type_traits>
Include dependency graph for Math.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 jlm
 
 jlm::util
 

Functions

template<class T >
static constexpr int jlm::util::log2Floor (T value)
 
template<class T >
static constexpr T jlm::util::RoundUpToPowerOf2 (T value)
 
template<class T >
static constexpr T jlm::util::RoundUpToMultipleOf (T value, T multiple)
 
template<class T >
static constexpr int jlm::util::BitsRequiredToRepresent (T value)
 
template<class T >
static constexpr int jlm::util::BitWidthOfEnum (T endValue)