Skip to content

acsch incorrectly defined #698

@Zuzu-Typ

Description

@Zuzu-Typ

So when working on a Python redistribution of GLM, I noticed an accidental recursion in reciprocal.inl.

[...]
// acsch
template<typename genType>
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);
}
[...]

it should be

return asinh(genType(1) / x);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions