diff --git a/glm/gtc/reciprocal.inl b/glm/gtc/reciprocal.inl index 616ec9d1..dd538ef1 100644 --- a/glm/gtc/reciprocal.inl +++ b/glm/gtc/reciprocal.inl @@ -165,7 +165,7 @@ namespace glm GLM_FUNC_QUALIFIER genType acsch(genType x) { GLM_STATIC_ASSERT(std::numeric_limits::is_iec559, "'acsch' only accept floating-point values"); - return acsch(genType(1) / x); + return asinh(genType(1) / x); } template diff --git a/readme.md b/readme.md index 61d061bd..e4660990 100644 --- a/readme.md +++ b/readme.md @@ -107,6 +107,7 @@ glm::mat4 camera(float Translate, glm::vec2 const& Rotate) - Fixed Better follow GLSL min and max specification #372 - Fixed quaternion constructor from two vectors special cases #469 - Fixed glm::to_string on quaternions wrong components order #681 +- Fixed acsch #698 #### Deprecation: - Requires Visual Studio 2013, GCC 4.7, Clang 3.4, Cuda 7, ICC 2013 or a C++11 compiler