Template Function librapid::isFinite(const __gmp_expr<A, B>&)#

Function Documentation#

template<typename A, typename B>
bool librapid::isFinite(const __gmp_expr<A, B> &val) noexcept#

Returns true if the passed value is finite. Note: MPIR does not support Inf, so we can probably just return true

Template Parameters
  • A

  • B

Parameters

val – The value to check

Returns

True if the value is finite