Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

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