38 #ifndef GLM_GTX_integer
39 #define GLM_GTX_integer GLM_VERSION
44 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
45 # pragma message("GLM: GLM_GTX_integer extension included")
55 int pow(
int x,
int y);
63 template <
typename genIUType>
64 genIUType
log2(genIUType
const & x);
72 int mod(
int x,
int y);
76 template <
typename genType>
104 #endif//GLM_GTX_integer
unsigned int floor_log2(unsigned int x)
uint_t uint
Definition: type_int.hpp:131
GLM_FUNC_DECL genType mod(genType const &x, genType const &y)
Definition: func_common.inl:210
Definition: _detail.hpp:38
GLM_FUNC_DECL genType log2(genType const &x)
Definition: func_exponential.inl:118
uint nlz(uint x)
Definition: integer.inl:172
genType factorial(genType const &x)
Definition: integer.inl:94
signed int sint
Definition: integer.hpp:81
GLM_FUNC_DECL genType pow(genType const &base, genType const &exponent)
Definition: func_exponential.inl:34
GLM_FUNC_DECL genType sqrt(genType const &x)
Definition: func_exponential.inl:131