Fixed ldexp and frexp compilation errors

This commit is contained in:
humbletim
2015-12-19 19:22:33 -05:00
committed by Christophe Riccio
parent 1936921ec7
commit 52c9f124e3
3 changed files with 93 additions and 1 deletions

View File

@@ -712,7 +712,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");