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

Function Documentation#

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

Determine whether the parameter is a number.

Note

When using compiler fast math, this function may fail!

Parameters:

q – Specifies the value to test for NaN.

Returns:

True if x hold a NaN (not a number) representation in the underlying implementation’s set of floating-point representations. False otherwise, including for implementations with no NaN representations.