Template Function TRAP::Math::IsInf(const tQuat<T>&)#

Function Documentation#

template<typename T>
constexpr Vec<4, bool> TRAP::Math::IsInf(const tQuat<T> &q)#

Determine whether the paramter is positive or negative infinity.

Parameters:

q – Specifies the value to test for infinity.

Returns:

True if x holds a positive infinity or negative infinity representation in the underlying implementation’s set of floating-point representations. False otherwise, including for implementations with no infinity representations.