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

int round_down_to_power_of_two (int i)
 does what it says: round down to next power of two More...
 
unsigned int round_down_to_power_of_two (unsigned int i)
 does what it says: round down to next power of two More...
 
long round_down_to_power_of_two (long i)
 does what it says: round down to next power of two More...
 
unsigned long round_down_to_power_of_two (unsigned long i)
 does what it says: round down to next power of two More...
 
long long round_down_to_power_of_two (long long i)
 does what it says: round down to next power of two More...
 
unsigned long long round_down_to_power_of_two (unsigned long long i)
 does what it says: round down to next power of two More...
 
int round_up_to_power_of_two (int i)
 does what it says: round up to next power of two More...
 
unsigned int round_up_to_power_of_two (unsigned int i)
 does what it says: round up to next power of two More...
 
long round_up_to_power_of_two (long i)
 does what it says: round up to next power of two More...
 
unsigned long round_up_to_power_of_two (unsigned long i)
 does what it says: round up to next power of two More...
 
long long round_up_to_power_of_two (long long i)
 does what it says: round up to next power of two More...
 
unsigned long long round_up_to_power_of_two (unsigned long long i)
 does what it says: round up to next power of two More...