17 #include "../detail/setup.hpp" 
   18 #include "../detail/precision.hpp" 
   19 #include "../detail/func_common.hpp" 
   20 #include "../detail/func_integer.hpp" 
   21 #include "../detail/func_exponential.hpp" 
   24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED) 
   25 #       pragma message("GLM: GLM_GTC_integer extension included") 
   35         template <
typename genIUType>
 
   36         GLM_FUNC_DECL genIUType 
log2(genIUType x);
 
   46         template <
typename genIUType>
 
   47         GLM_FUNC_DECL genIUType 
mod(genIUType x, genIUType y);
 
   58         template <
typename T, precision P, 
template <
typename, precision> 
class vecType>
 
   59         GLM_FUNC_DECL vecType<T, P> 
mod(vecType<T, P> 
const & x, T y);
 
   70         template <
typename T, precision P, 
template <
typename, precision> 
class vecType>
 
   71         GLM_FUNC_DECL vecType<T, P> 
mod(vecType<T, P> 
const & x, vecType<T, P> 
const & y);
 
   83         template <
typename T, precision P, 
template <
typename, precision> 
class vecType>
 
   84         GLM_FUNC_DECL vecType<int, P> 
iround(vecType<T, P> 
const & x);
 
   96         template <
typename T, precision P, 
template <
typename, precision> 
class vecType>
 
   97         GLM_FUNC_DECL vecType<uint, P> 
uround(vecType<T, P> 
const & x);
 
  102 #include "integer.inl" 
GLM_FUNC_DECL vecType< uint, P > uround(vecType< T, P > const &x)
Returns a value equal to the nearest integer to x. 
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. 
GLM_FUNC_DECL vecType< int, P > iround(vecType< T, P > const &x)
Returns a value equal to the nearest integer to x.