Fixed acsch #698

This commit is contained in:
Christophe Riccio
2017-11-22 17:36:31 +01:00
parent 5bcb204cde
commit 529de50383
2 changed files with 2 additions and 1 deletions

View File

@@ -165,7 +165,7 @@ namespace glm
GLM_FUNC_QUALIFIER genType acsch(genType x)
{
GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'acsch' only accept floating-point values");
return acsch(genType(1) / x);
return asinh(genType(1) / x);
}
template<length_t L, typename T, qualifier Q>