tlx
is_power_of_two.hpp File Reference

Go to the source code of this file.

tlx

## Functions

template<typename Integral >
static bool is_power_of_two_template (Integral i)

static bool is_power_of_two (int i)
does what it says: true if i is a power of two More...

static bool is_power_of_two (unsigned int i)
does what it says: true if i is a power of two More...

static bool is_power_of_two (long i)
does what it says: true if i is a power of two More...

static bool is_power_of_two (unsigned long i)
does what it says: true if i is a power of two More...

static bool is_power_of_two (long long i)
does what it says: true if i is a power of two More...

static bool is_power_of_two (unsigned long long i)
does what it says: true if i is a power of two More...