/// @ref core /// @file glm/detail/func_exponential.inl #include "func_vector_relational.hpp" #include "_vectorize.hpp" #include #include #include namespace glm{ namespace detail { # if GLM_HAS_CXX11_STL using std::log2; # else template genType log2(genType Value) { return std::log(Value) * static_cast(1.4426950408889634073599246810019); } # endif template class vecType, bool isFloat, bool Aligned> struct compute_log2 { GLM_FUNC_QUALIFIER static vecType call(vecType const & vec) { return detail::functor1::call(log2, vec); } }; template