|  | 1.0.0 API documentation
    | 
 
 
 
Go to the documentation of this file.
   19 #ifndef GLM_ENABLE_EXPERIMENTAL 
   20 #       error "GLM: GLM_GTX_fast_exponential is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 
   21 #elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) 
   22 #       pragma message("GLM: GLM_GTX_fast_exponential extension included") 
   32         template<
typename genType>
 
   33         GLM_FUNC_DECL genType 
fastPow(genType x, genType y);
 
   37         template<length_t L, 
typename T, qualifier Q>
 
   38         GLM_FUNC_DECL vec<L, T, Q> 
fastPow(vec<L, T, Q> 
const& x, vec<L, T, Q> 
const& y);
 
   42         template<
typename genTypeT, 
typename genTypeU>
 
   43         GLM_FUNC_DECL genTypeT 
fastPow(genTypeT x, genTypeU y);
 
   47         template<length_t L, 
typename T, qualifier Q>
 
   48         GLM_FUNC_DECL vec<L, T, Q> 
fastPow(vec<L, T, Q> 
const& x);
 
   57         template<length_t L, 
typename T, qualifier Q>
 
   58         GLM_FUNC_DECL vec<L, T, Q> 
fastExp(vec<L, T, Q> 
const& x);
 
   67         template<length_t L, 
typename T, qualifier Q>
 
   68         GLM_FUNC_DECL vec<L, T, Q> 
fastLog(vec<L, T, Q> 
const& x);
 
   77         template<length_t L, 
typename T, qualifier Q>
 
   78         GLM_FUNC_DECL vec<L, T, Q> 
fastExp2(vec<L, T, Q> 
const& x);
 
   87         template<length_t L, 
typename T, qualifier Q>
 
   88         GLM_FUNC_DECL vec<L, T, Q> 
fastLog2(vec<L, T, Q> 
const& x);
 
   93 #include "fast_exponential.inl" 
  
GLM_FUNC_DECL vec< L, T, Q > fastLog(vec< L, T, Q > const &x)
Faster than the common exp2 function but less accurate.
GLM_FUNC_DECL vec< L, T, Q > fastExp(vec< L, T, Q > const &x)
Faster than the common exp function but less accurate.
GLM_FUNC_DECL vec< L, T, Q > fastPow(vec< L, T, Q > const &x)
Faster than the common pow function but less accurate.
GLM_FUNC_DECL vec< L, T, Q > fastExp2(vec< L, T, Q > const &x)
Faster than the common exp2 function but less accurate.
GLM_FUNC_DECL vec< L, T, Q > fastLog2(vec< L, T, Q > const &x)
Faster than the common log2 function but less accurate.