Merge pull request #466 from humbletim/master

Fixed ldexp compilation error #466
This commit is contained in:
Christophe R
2016-01-01 14:34:04 +01:00
3 changed files with 41 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");