DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(gmp.info.gz) Function Classes

Info Catalog (gmp.info.gz) Nomenclature and Types (gmp.info.gz) GMP Basics (gmp.info.gz) Variable Conventions
 
 Function Classes
 ================
 
 There are six classes of functions in the GMP library:
 
   1. Functions for signed integer arithmetic, with names beginning with
      `mpz_'.  The associated type is `mpz_t'.  There are about 150
      functions in this class.  ( Integer Functions)
 
   2. Functions for rational number arithmetic, with names beginning with
      `mpq_'.  The associated type is `mpq_t'.  There are about 40
      functions in this class, but the integer functions can be used for
      Rational Number Functions::)
 
   3. Functions for floating-point arithmetic, with names beginning with
      `mpf_'.  The associated type is `mpf_t'.  There are about 60
      functions is this class.  ( Floating-point Functions)
 
   4. Functions compatible with Berkeley MP, such as `itom', `madd', and
      Functions::)
 
   5. Fast low-level functions that operate on natural numbers.  These
      are used by the functions in the preceding groups, and you can
      also call them directly from very time-critical user programs.
      These functions' names begin with `mpn_'.  The associated type is
      array of `mp_limb_t'.  There are about 30 (hard-to-use) functions
      in this class.  ( Low-level Functions)
 
   6. Miscellaneous functions.  Functions for setting up custom
      allocation and functions for generating random numbers.  (
      Custom Allocation, and  Random Number Functions)
 
Info Catalog (gmp.info.gz) Nomenclature and Types (gmp.info.gz) GMP Basics (gmp.info.gz) Variable Conventions
automatically generated byinfo2html