Fixed ldexp compilation error

This commit is contained in:
humbletim
2015-12-19 19:22:33 -05:00
parent 78f686b4be
commit 8c55a64fdd
3 changed files with 50 additions and 2 deletions

View File

@@ -706,7 +706,7 @@ namespace detail
frexp(x.w, exp.w));
}
template <typename genType, precision P>
template <typename genType>
GLM_FUNC_QUALIFIER genType ldexp(genType const & x, int const & exp)
{
GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'ldexp' only accept floating-point inputs");