36 #ifndef glm_core_func_exponential 37 #define glm_core_func_exponential GLM_VERSION 52 template <
typename genType>
53 genType
pow(genType
const & x, genType
const & y);
62 template <
typename genType>
63 genType
exp(genType
const & x);
74 template <
typename genType>
75 genType
log(genType
const & x);
84 template <
typename genType>
85 genType
exp2(genType
const & x);
95 template <
typename genType>
96 genType
log2(genType
const & x);
105 template <
typename genType>
106 genType
sqrt(genType
const & x);
115 template <
typename genType>
123 #endif//glm_core_func_exponential genType sqrt(genType const &x)
Returns the positive square root of x.
Definition: func_exponential.inl:133
Definition: _detail.hpp:38
genType exp(genType const &x)
Returns the natural exponentiation of x, i.e., e^x.
Definition: func_exponential.inl:51
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...
Definition: func_exponential.inl:120
genType exp2(genType const &x)
Returns 2 raised to the x power.
Definition: func_exponential.inl:79
OpenGL Mathematics (glm.g-truc.net)
genType pow(genType const &x, genType const &y)
Returns x raised to the y power.
Definition: func_exponential.inl:36
genType log(genType const &x)
Returns the natural logarithm of x, i.e., returns the value y which satisfies the equation x = e^y...
Definition: func_exponential.inl:65
genType inversesqrt(genType const &x)
Returns the reciprocal of the positive square root of x.
Definition: func_exponential.inl:146