Flow Visualisation
fast_exponential.hpp
Go to the documentation of this file.
1 
39 #ifndef GLM_GTX_fast_exponential
40 #define GLM_GTX_fast_exponential GLM_VERSION
41 
42 // Dependency:
43 #include "../glm.hpp"
44 #include "../gtc/half_float.hpp"
45 
46 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
47 # pragma message("GLM: GLM_GTX_fast_exponential extension included")
48 #endif
49 
50 namespace glm
51 {
54 
57  template <typename genType>
58  genType fastPow(
59  genType const & x,
60  genType const & y);
61 
64  template <typename genTypeT, typename genTypeU>
65  genTypeT fastPow(
66  genTypeT const & x,
67  genTypeU const & y);
68 
71  template <typename T>
72  T fastExp(const T& x);
73 
76  template <typename T>
77  T fastLog(const T& x);
78 
81  template <typename T>
82  T fastExp2(const T& x);
83 
86  template <typename T>
87  T fastLog2(const T& x);
88 
91  template <typename T>
92  T fastLn(const T& x);
93 
95 }//namespace glm
96 
97 #include "fast_exponential.inl"
98 
99 #endif//GLM_GTX_fast_exponential
T fastLn(const T &x)
T fastExp(const T &x)
Definition: _detail.hpp:38
Definition: _swizzle.hpp:43
T fastLog(const T &x)
genType fastPow(genType const &x, genType const &y)
Definition: fast_exponential.inl:14
T fastExp2(const T &x)
T fastLog2(const T &x)