PSMoveService
func_exponential.hpp
Go to the documentation of this file.
1 
36 #ifndef glm_core_func_exponential
37 #define glm_core_func_exponential GLM_VERSION
38 
39 namespace glm
40 {
43 
52  template <typename genType>
53  genType pow(genType const & x, genType const & y);
54 
62  template <typename genType>
63  genType exp(genType const & x);
64 
74  template <typename genType>
75  genType log(genType const & x);
76 
84  template <typename genType>
85  genType exp2(genType const & x);
86 
95  template <typename genType>
96  genType log2(genType const & x);
97 
105  template <typename genType>
106  genType sqrt(genType const & x);
107 
115  template <typename genType>
116  genType inversesqrt(genType const & x);
117 
119 }//namespace glm
120 
121 #include "func_exponential.inl"
122 
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