Embedded Template Library 1.0
|
Classes | |
struct | etl::power< NV, POWER > |
struct | etl::power_of_2_round_up< NV > |
struct | etl::power_of_2_round_up< 0 > |
struct | etl::power_of_2_round_down< NV > |
struct | etl::power_of_2_round_down< 0 > |
struct | etl::power_of_2_round_down< 1 > |
struct | etl::power_of_2_round_down< 2 > |
struct | etl::is_power_of_2< NV > |
struct | etl::is_power_of_2< 0 > |
struct | etl::is_power_of_2< 1 > |
power<N, POWER> : Calculates N to the power POWER.
struct etl::power |
Calculates powers.
Static Public Attributes | |
static ETL_CONSTANT private_power::type | value = NV * power<NV, POWER - 1>::value |
struct etl::power_of_2_round_up |
struct etl::power_of_2_round_up< 0 > |
struct etl::power_of_2_round_down |
struct etl::power_of_2_round_down< 0 > |
struct etl::power_of_2_round_down< 1 > |
struct etl::power_of_2_round_down< 2 > |
struct etl::is_power_of_2 |
struct etl::is_power_of_2< 0 > |