freebsd-skq/gnu/lib/libgmp
bde 77eaf99dd6 Fixed beforeinstall rule. .CURDIR was spelled .SRCDIR.
Changed beforeinstall rule to use `install -C' instead of `cmp -s'
and `install -c'.  `install -C' has exactly the right semantics
for installing headers and should be used elsewhere.
1995-11-26 09:51:42 +00:00
..
doc Build the TeXinfo manual 1995-11-13 18:40:45 +00:00
tests Make the tests work. libmp and libgmp must be installed for this 1995-11-13 18:42:24 +00:00
_mpz_get_str.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
_mpz_set_str.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
alloca.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
ChangeLog GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
COPYING GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
cre-conv-tab.c BMake the multiprecision library, and fix as many of the -Wall warnings 1995-11-12 14:55:48 +00:00
cre-mparam.c BMake the multiprecision library, and fix as many of the -Wall warnings 1995-11-12 14:55:48 +00:00
cre-stddefh.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
gmp-impl.h GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
gmp.h GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
gmp.texi GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
INSTALL GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
itom.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
longlong.h GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
Makefile Fixed beforeinstall rule. .CURDIR was spelled .SRCDIR. 1995-11-26 09:51:42 +00:00
Makefile.GNU BMake the multiprecision library, and fix as many of the -Wall warnings 1995-11-12 14:55:48 +00:00
mdiv.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
memory.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mfree.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
min.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mout.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
move.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mp_clz_tab.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mp_set_fns.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mp.h GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpn_add.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpn_cmp.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpn_div.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpn_dm_1.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpn_lshift.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpn_mod_1.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpn_mul.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpn_rshift.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpn_rshiftci.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpn_sqrt.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpn_sub.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_add.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_clear.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_cmp.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_div.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_get_den.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_get_num.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_init.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_inv.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_mul.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_neg.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_set_den.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_set_num.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_set_si.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_set_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_set.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpq_sub.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_abs.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_add_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_add.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_and.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_clear.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_clrbit.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_cmp_si.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_cmp_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_cmp.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_com.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_div_2exp.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_div_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_div.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_dm_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_dm.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_dmincl.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_fac_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_gcd.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_gcdext.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_get_si.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_get_str.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_get_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_init.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_inp_raw.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_inp_str.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_ior.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_iset_si.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_iset_str.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_iset_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_iset.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_mdiv_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_mdiv.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_mdm_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_mdm.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_mmod_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_mmod.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_mod_2exp.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_mod_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_mod.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_mul_2exp.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_mul_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_mul.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_neg.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_out_raw.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_out_str.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_perfsqr.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_pow_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_powm_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_powm.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_pprime_p.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_random2.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_random.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_realloc.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_set_si.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_set_str.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_set_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_set.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_size.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_sizeinb.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_sqrt.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_sqrtrem.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_sub_ui.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mpz_sub.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
mtox.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
README GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
sdiv.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
TODO GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
VERSION GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00
xtom.c GNU MP (Multiprecision) library. This is needed by secure RPC (being 1995-11-12 14:40:41 +00:00

			THE GNU MP LIBRARY


GNU MP is a library for arbitrary precision arithmetic, operating on
signed integers and rational numbers.  It has a rich set of functions,
and the functions have a regular interface.

I have tried to make these functions as fast as possible, both for small
operands and for huge operands.  The speed is achieved by using fullwords
as the basic arithmetic type, by using fast algorithms, by defining inline
assembler for mixed sized multiplication and division (i.e 32*32->64 bit
multiplication and 64/32->32,32 bit division), and by hacking the code
with emphasis on speed (and not simplicity and elegance).

The speed of GNU MP is about 5 to 100 times that of Berkeley MP for
small operands.  The speed-up increases with the operand sizes for
certain operations, for which GNU MP has asymptotically faster algorithms.


There are four classes of functions in GNU MP.

 1. Signed integer arithmetic functions, mpz_*.  The set of functions are
    intended to be easy to use, being rich and regular.

    To use these functions, include the file "gmp.h".

 2. Rational arithmetic functions, mpq_*.  For now, just a small set of
    functions necessary for basic rational arithmetics.

    To use these functions, include the file "gmp.h".

 3. Positive-integer, low-level, harder-to-use, but for small operands
    about twice as fast than the mpz_* functions are the functions in the
    mpn_* class.  No memory management is performed.  The caller must
    ensure enough space is available for the results.  The set of
    functions is not quite regular, nor is the calling interface.  These
    functions accept input arguments in the form of pairs consisting of a
    pointer to the least significant word, and a integral size telling how
    many limbs (= words) the pointer points to.

    Almost all calculations, in the entire package, are made in these
    low-level functions.

    These functions are not fully documented in this release.  They will
    probably be so in a future release.

 4. Berkeley MP compatible functions.

    To use these functions, include the file "mp.h".  You can test if you
    are using the GNU version by testing if the symbol __GNU_MP__ is
    defined.


			REPORTING BUGS

If you find a bug in the library, please make sure to tell us about it!

You can report bugs, and propose modifications and enhancements to
tege@gnu.ai.mit.edu.  How to report a bug is further described in
the texinfo documentation, see the file gmp.texi.