There are six classes of functions in the GMP library:
mpz_
. The associated type is mpz_t
. There are about 150
functions in this class. (see Integer Functions)
mpq_
. The associated type is mpq_t
. There are about 35
functions in this class, but the integer functions can be used for arithmetic
on the numerator and denominator separately. (see Rational Number Functions)
mpf_
. The associated type is mpf_t
. There are about 70
functions in this class. (see Floating-point Functions)
mpn_
. The associated type is array of mp_limb_t
. There are
about 60 (hard-to-use) functions in this class. (see Low-level Functions)