Next: Variable Conventions, Previous: Nomenclature and Types, Up: GMP Basics
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 40
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 60
functions is this class. (see Floating-point Functions)
itom, madd, and
mult. The associated type is MINT. (see BSD Compatible Functions)
mpn_. The associated type is array of mp_limb_t. There are
about 30 (hard-to-use) functions in this class. (see Low-level Functions)