Thrill  0.1
is_power_of_two.cpp File Reference
#include <tlx/math/is_power_of_two.hpp>
Include dependency graph for is_power_of_two.cpp:

Go to the source code of this file.

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)