Function librapid::abs(const mpz&)#

Function Documentation#

mpz librapid::abs(const mpz &val)#

Return true if two values are close to each other

Template Parameters

T – The type of the tolerance

Parameters
  • val1 – The first value

  • val2 – The second value

  • tolerance – The tolerance

  • val – The value to take the absolute value of

Returns

True if the values are close to each other Absolute value of a multiprecision integer value: \( |x| \)

Returns

Absolute value