Template Function TRAP::Math::IsFinite(T)#

Function Documentation#

template<typename T>
constexpr bool TRAP::Math::IsFinite(T x) noexcept#

Returns whether the given number is finite or not.

Parameters:

x – Number to check.

Returns:

True if the given number is finite, false otherwise.