36 #ifndef glm_core_func_exponential 
   37 #define glm_core_func_exponential 
   39 #include "type_vec1.hpp" 
   40 #include "type_vec2.hpp" 
   41 #include "type_vec3.hpp" 
   42 #include "type_vec4.hpp" 
   58         template <
typename genType> 
 
   59         GLM_FUNC_DECL genType 
pow(genType 
const & base, genType 
const & exponent);
 
   68         template <
typename genType> 
 
   69         GLM_FUNC_DECL genType 
exp(genType 
const & x);
 
   80         template <
typename genType> 
 
   81         GLM_FUNC_DECL genType 
log(genType 
const & x);
 
   90         template <
typename genType> 
 
   91         GLM_FUNC_DECL genType 
exp2(genType 
const & x);
 
  101         template <
typename genType> 
 
  102         GLM_FUNC_DECL genType 
log2(genType 
const & x);
 
  111         template <
typename genType> 
 
  112         GLM_FUNC_DECL genType 
sqrt(genType 
const & x);
 
  121         template <
typename genType> 
 
  122         GLM_FUNC_DECL genType 
inversesqrt(genType 
const & x);
 
  127 #include "func_exponential.inl" 
  129 #endif//glm_core_func_exponential 
GLM_FUNC_DECL genType sqrt(genType const &x)
Returns the positive square root of x. 
GLM_FUNC_DECL genType inversesqrt(genType const &x)
Returns the reciprocal of the positive square root of x. 
GLM_FUNC_DECL genType exp(genType const &x)
Returns the natural exponentiation of x, i.e., e^x. 
GLM_FUNC_DECL genType log2(genType const &x)
Returns the base 2 log of x, i.e., returns the value y, which satisfies the equation x = 2 ^ y...
GLM_FUNC_DECL genType pow(genType const &base, genType const &exponent)
Returns 'base' raised to the power 'exponent'. 
GLM_FUNC_DECL genType exp2(genType const &x)
Returns 2 raised to the x power. 
GLM_FUNC_DECL genType log(genType const &x)
Returns the natural logarithm of x, i.e., returns the value y which satisfies the equation x = e^y...