aGrUM  0.13.2
pow_inl.h File Reference

Inline implementation of pow functions with integers, faster than stl implementation. More...

+ Include dependency graph for pow_inl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 gum
 gum is the global namespace for all aGrUM entities
 

Functions

Integers Pow utility methods
unsigned long gum::intPow (unsigned long base, unsigned long exponent)
 Specialized pow function with integers (faster implementation). More...
 
unsigned long gum::int2Pow (unsigned long exponent)
 Specialized base 2 pow function with integer. More...
 
void gum::superiorPow (unsigned long card, unsigned long &num_bits, unsigned long &new_card)
 Compute the superior and closest power of two of an integer. More...
 

Detailed Description

Inline implementation of pow functions with integers, faster than stl implementation.

Author
Matthieu HOURBRACQ and Pierre-Henri WUILLEMIN

Definition in file pow_inl.h.