CNL  2.0.2 (development)
Compositional Numeric Library
cnl::power< Exponent, Radix > Struct Template Reference

tag representing the scaling of an integer by a fixed factor More...

#include <cnl/scaled_integer.h>

Static Public Attributes

constexpr static int exponent = Exponent
 value of template parameter, Exponent
 
constexpr static int radix = Radix
 value of template parameter, Radix
 

Detailed Description

template<int Exponent, int Radix>
struct cnl::power< Exponent, Radix >

tag representing the scaling of an integer by a fixed factor

Template Parameters
Exponentthe exponent used to scale the integer value; defaults to 0
Radixthe base used to scale the integer value; defaults to 2
See also
scaled_integer