Thrill
0.1
|
#include <cstddef>
Go to the source code of this file.
Namespaces | |
tlx | |
Functions | |
static int | round_down_to_power_of_two (int i) |
does what it says: round down to next power of two More... | |
static unsigned int | round_down_to_power_of_two (unsigned int i) |
does what it says: round down to next power of two More... | |
static long | round_down_to_power_of_two (long i) |
does what it says: round down to next power of two More... | |
static unsigned long | round_down_to_power_of_two (unsigned long i) |
does what it says: round down to next power of two More... | |
static long long | round_down_to_power_of_two (long long i) |
does what it says: round down to next power of two More... | |
static 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... | |
static int | round_up_to_power_of_two (int i) |
does what it says: round up to next power of two More... | |
static unsigned int | round_up_to_power_of_two (unsigned int i) |
does what it says: round up to next power of two More... | |
static long | round_up_to_power_of_two (long i) |
does what it says: round up to next power of two More... | |
static unsigned long | round_up_to_power_of_two (unsigned long i) |
does what it says: round up to next power of two More... | |
static long long | round_up_to_power_of_two (long long i) |
does what it says: round up to next power of two More... | |
static 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... | |
template<typename Integral > | |
static Integral | round_up_to_power_of_two_template (Integral n) |