46 #include "../detail/setup.hpp" 
   47 #include "../detail/precision.hpp" 
   48 #include "../detail/func_common.hpp" 
   49 #include "../detail/func_integer.hpp" 
   50 #include "../detail/func_exponential.hpp" 
   53 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED)) 
   54 #       pragma message("GLM: GLM_GTC_integer extension included") 
   64         template <
typename genIUType>
 
   65         GLM_FUNC_DECL genIUType 
log2(genIUType x);
 
   75         template <
typename genIUType>
 
   76         GLM_FUNC_DECL genIUType 
mod(genIUType x, genIUType y);
 
   87         template <
typename T, precision P, 
template <
typename, precision> 
class vecType>
 
   88         GLM_FUNC_DECL vecType<T, P> 
mod(vecType<T, P> 
const & x, T y);
 
   99         template <
typename T, precision P, 
template <
typename, precision> 
class vecType>
 
  100         GLM_FUNC_DECL vecType<T, P> 
mod(vecType<T, P> 
const & x, vecType<T, P> 
const & y);
 
  105 #include "integer.inl" 
GLM_FUNC_DECL genIUType log2(genIUType x)
Returns the log2 of x for integer values. 
GLM_FUNC_DECL genIUType mod(genIUType x, genIUType y)
Modulus.