Thrill  0.1
integer_log2.hpp File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 tlx
 

Functions

static unsigned integer_log2_ceil (int i)
 calculate the log2 floor of an integer type More...
 
static unsigned integer_log2_ceil (unsigned int i)
 calculate the log2 floor of an integer type More...
 
static unsigned integer_log2_ceil (long i)
 calculate the log2 floor of an integer type More...
 
static unsigned integer_log2_ceil (unsigned long i)
 calculate the log2 floor of an integer type More...
 
static unsigned integer_log2_ceil (long long i)
 calculate the log2 floor of an integer type More...
 
static unsigned integer_log2_ceil (unsigned long long i)
 calculate the log2 floor of an integer type More...
 
static unsigned integer_log2_floor (int i)
 calculate the log2 floor of an integer type More...
 
static unsigned integer_log2_floor (unsigned int i)
 calculate the log2 floor of an integer type More...
 
static unsigned integer_log2_floor (long i)
 calculate the log2 floor of an integer type More...
 
static unsigned integer_log2_floor (unsigned long i)
 calculate the log2 floor of an integer type More...
 
static unsigned integer_log2_floor (long long i)
 calculate the log2 floor of an integer type More...
 
static unsigned integer_log2_floor (unsigned long long i)
 calculate the log2 floor of an integer type More...
 
template<typename IntegerType >
static unsigned integer_log2_floor_template (IntegerType i)
 calculate the log2 floor of an integer type More...