Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

power

power<N, POWER> : Calculates N to the power POWER. More...

Data Structures

struct  power< NV, POWER >
 Calculates powers. More...
struct  power_of_2_round_up< NV >
 Calculates the rounded up power of 2. More...
struct  power_of_2_round_up< 0 >
 Calculates the rounded up power of 2. More...
struct  power_of_2_round_down< NV >
 Calculates the rounded down power of 2. More...
struct  power_of_2_round_down< 0 >
 Calculates the rounded down power of 2. More...
struct  power_of_2_round_down< 1 >
 Calculates the rounded down power of 2. More...
struct  power_of_2_round_down< 2 >
 Calculates the rounded down power of 2. More...
struct  is_power_of_2< NV >
 Checks if N is a power of 2. More...
struct  is_power_of_2< 0 >
 Checks if N is a power of 2. More...
struct  is_power_of_2< 1 >
 Checks if N is a power of 2. More...

Detailed Description

power<N, POWER> : Calculates N to the power POWER.