Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
is_power_of_two.cpp File Reference
+ Include dependency graph for is_power_of_two.cpp:

Go to the source code of this file.

Namespaces

 tlx
 

Functions

bool is_power_of_two (int i)
 does what it says: true if i is a power of two More...
 
bool is_power_of_two (unsigned int i)
 does what it says: true if i is a power of two More...
 
bool is_power_of_two (long i)
 does what it says: true if i is a power of two More...
 
bool is_power_of_two (unsigned long i)
 does what it says: true if i is a power of two More...
 
bool is_power_of_two (long long i)
 does what it says: true if i is a power of two More...
 
bool is_power_of_two (unsigned long long i)
 does what it says: true if i is a power of two More...
 
template<typename Integral >
static bool is_power_of_two_template (Integral i)