27 #ifndef GUM_MATH_POW_H 28 #define GUM_MATH_POW_H 46 unsigned long intPow(
unsigned long base,
unsigned long exponent);
55 unsigned long int2Pow(
unsigned long exponent);
73 unsigned long& num_bits,
74 unsigned long& new_card);
82 #endif // GUM_NO_INLINE 84 #endif // GUM_MATH_POW_H
unsigned long int2Pow(unsigned long exponent)
Specialized base 2 pow function with integer.
Inline implementation of pow functions with integers, faster than stl implementation.
gum is the global namespace for all aGrUM entities
void superiorPow(unsigned long card, unsigned long &num_bits, unsigned long &new_card)
Compute the superior and closest power of two of an integer.
unsigned long intPow(unsigned long base, unsigned long exponent)
Specialized pow function with integers (faster implementation).