summaryrefslogtreecommitdiff
path: root/gmp.h
Commit message (Collapse)AuthorAgeFilesLines
* * gmp.h (mp_set_memory_functions): Add extern "C".Kevin Ryde2000-05-281-0/+10
|
* Rename kronecker functions.Kevin Ryde2000-05-271-8/+8
|
* Revert this:Kevin Ryde2000-05-261-14/+0
| | | | * gmp.h (mpz_mod2, mpz_mod4, mpz_mod8): New macros.
* * gmp.h (mpz_mod2, mpz_mod4, mpz_mod8, mpz_odd_p, mpz_even_p): NewKevin Ryde2000-05-211-11/+69
| | | | | | | | | | macros. * gmp.h (mpn_divmod_1): Change to a macro calling mpn_divrem_1. * gmp.h (mpn_addmul_1c, mpn_divrem_1c, mpn_mod_1c, mpn_mul_1c, mpn_submul_1c): Add missing prototypes. * gmp.h (mpz_kronecker_*): New defines and prototypes. * gmp.h (mpn_jacobi_base, mpn_mod_1_rshift): New defines and prototypes.
* * gmp.h (mpq_out_str): New define and prototype.Kevin Ryde2000-05-141-0/+6
|
* Spacing cleanups.tege2000-05-081-2/+2
|
* * gmp.h (gmp_randinit, etc): Add extern "C" for C++.Kevin Ryde2000-05-051-3/+16
| | | | | | (_mpq_cmp_ui): Fix prototype name (was mpq_cmp_ui). (mpn_divexact_by3): Now a macro calling mpn_divexact_by3c. (mpn_divexact_by3c): New prototype and define.
* * gmp.h (mpz_mul_si): New prototype and define.Kevin Ryde2000-04-231-1/+6
|
* Set __GNU_MP_VERSION_PATCHLEVEL to 0. Ta ta!tege2000-04-161-1/+1
|
* invert_normalized_limb => invert_limb.tege2000-04-161-3/+3
|
* * gmp-impl.h (_mp_allocate_func,etc): #define internal allocationKevin Ryde2000-04-161-0/+4
| | | | functions and variables to __gmp_allocate_func etc.
* Change __mpn to __gmpn in __MPN macro.Kevin Ryde2000-04-161-2/+2
|
* (mpn_divrem_newton): Remove declaration.tege2000-04-141-52/+0
| | | | | (mpn_divrem_classic): Remove declaration. (mpn_divrem): Remove function definition.
* (gmp_randalg_t): Remove comma after last element.Linus Nordberg2000-04-131-1/+1
|
* Declare mpz_rrandomb.tege2000-04-131-0/+2
|
* (mpf_urandomb): Add parameter to prototype.Linus Nordberg2000-04-121-1/+1
|
* (gmp_randinit): Change parameter list to (rstate, alg, ...).Linus Nordberg2000-04-101-1/+1
|
* Declare mpz_nextprime.tege2000-04-101-0/+2
|
* Rename most of the random number functions, structs and some of the struct ↵Linus Nordberg2000-04-101-34/+34
| | | | members.
* mpz_cmp_abs* => mpz_cmpabs*.tege2000-04-081-4/+4
|
* (mpz_root): Use _PROTO.tege2000-04-081-3/+3
| | | | | (mpz_remove): Use _PROTO. (mpf_pow_iu): Use _PROTO.
* (mpq_set_d): Declare correctly.tege2000-04-081-1/+1
|
* Declare mpq_set_d.tege2000-04-081-0/+2
|
* * Declare mpz_fits_*.tege2000-04-071-2/+14
| | | | * (__MPN): Revert previous change.
* Update copyright years.Kevin Ryde2000-04-071-1/+2
|
* List the same functions for __MPN as in mpn/asm-defs.m4 , but leavetege2000-04-051-5/+29
| | | | some commented out.
* * (__MPN): Make it use __gmpn instead of __mpn for consistency.tege2000-04-051-2/+5
| | | | | | * (mpn_sqr_n): Declare/remap. * (GMP_ERROR_ALLOCATE): New errcode. * (mpn_udiv_w_sdiv): Move __MPN remap to gmp-impl.h.
* (mpf_urandomb): Remove SIZE parameter.Linus Nordberg2000-04-051-1/+1
|
* Fix spelling.Linus Nordberg2000-04-041-1/+1
|
* (gmp_rand_getraw): Add function prototype.Linus Nordberg2000-04-041-19/+9
| | | | (mpn_rawrandom): Remove function prototype.
* (GMP_ERROR enum): Remove comma after last enumeration since the AIXLinus Nordberg2000-04-041-1/+1
| | | | compiler (xlc) doesn't like that.
* Fix function prototypes for randomization functions.Linus Nordberg2000-04-011-30/+19
| | | | | | (__gmp_rand_lc_scheme_struct): Replace `m' with `m2exp'. Remove unused `bits'. (__gmp_rand_data_lc): Add `m2exp' as another way of representing the modulus. (__gmp_rand_state_struct): Remove unused `size'.
* Revert previous patch.Linus Nordberg2000-03-231-13/+3
|
* (gmp_version_enum): New enum.Linus Nordberg2000-03-231-3/+13
| | | | | | | (__GNU_MP_VERSION): Call gmp_version(). (__GNU_MP_VERSION_MAJOR): Ditto. (__GNU_MP_VERSION_MINOR): Ditto. (__GNU_MP_VERSION_PATCHLEVEL): Ditto.
* * (error number enum): New anonymous enum.tege2000-03-211-4/+16
| | | | | | (gmp_errno): New. * (__GNU_MP_VERSION, __GNU_MP_VERSION_MINOR): Bump for GMP 3.0. * Undo 1996-10-06 NeXT change, it was clearly improperly written.
* Add mpn_divexact_by3 prototype and define.Kevin Ryde2000-03-141-0/+2
|
* Move the logops, com and copy defines and prototypes to gmp-impl.hKevin Ryde2000-02-241-22/+0
|
* Add some prototypes.Kevin Ryde2000-02-171-0/+13
|
* Add some mpn #defines.Kevin Ryde2000-02-171-0/+13
|
* * Undo 1999-11-22 change.tege1999-12-141-0/+1
|
* (mpn_divrem): Inhibit for non-gcc.tege1999-12-141-0/+2
|
* (mpn_divrem): Remove separate declaration; it's defined later in this file.tege1999-11-221-1/+0
|
* (__MPN): Back to `defined (__STDC__)' here. Sun's compiler istege1999-11-221-1/+2
| | | | | more broken than one could expect; it inserts spaces around /**/ unless special compiler oprtions are passed.
* Replace "defined (__STD__)' by (__STDC__-0) in expressionstege1999-11-221-8/+8
| | | | | involving more than one term, to handle Sun's compiler that most helpfully sets __STDC__ to 0.
* (mpz_init_set_str): Declare using __gmp_const.tege1999-11-221-6/+6
| | | | | | | | (mpz_set_str): Likewise. (mpf_init_set_str): Likewise. (mpf_set_str): Likewise. (mpn_set_str): Likewise. (__gmp_0): Likewise.
* (mpn_addsub_n): Declare.tege1999-11-171-1/+7
| | | | | (mpn_add_nc): Declare. (mpn_sub_nc): Declare.
* (mpn_incr_u): New macro (from mpn/generic/mul_n.c).tege1999-09-281-0/+18
| | | | (mpn_decr_u): New macro.
* * (mpn_divrem): Call mpn_divrem_1, mpn_divrem_2, as appropriate.tege1999-07-271-1/+20
| | | | * Declare mpn_divrem_2.
* (gmp_rand_algorithm): Remove spurious `,'.tege1999-07-071-1/+1
|
* Remove stupid __gmp_rand_init_common*() funcs.Linus Nordberg1999-05-251-3/+6
| | | | | Clean up gmp.h. Minor docu adds.