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

Function Documentation#

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

Returns true if the passed value is not a number (NaN) Note: MPIR does not support NaN, so chances are it’ll have errored already…

Template Parameters
  • A

  • B

Parameters

val – The value to check

Returns

True if the value is NaN