Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Copyright years | Marco Bodrato | 2017-02-08 | 1 | -1/+1 |
| | |||||
* | mpz/pprime_p.c: for replaced with do-while | Marco Bodrato | 2016-12-29 | 1 | -3/+4 |
| | |||||
* | Include just gmp-impl.h, make gmp-impl.h grab gmp.h. | Torbjorn Granlund | 2016-08-29 | 1 | -1/+0 |
| | |||||
* | mpz/pprime_p.c: Check for parity where it is needed only. | Marco Bodrato | 2015-12-11 | 1 | -6/+8 |
| | |||||
* | Update library files license to use LGPL3+ and GPL2+. | Torbjorn Granlund | 2014-01-27 | 1 | -7/+18 |
| | |||||
* | Canonicalise copyright headers. | Torbjorn Granlund | 2014-01-19 | 1 | -3/+3 |
| | |||||
* | Use https to link to GNU license. | Torbjorn Granlund | 2013-12-02 | 1 | -1/+1 |
| | |||||
* | Collapse copyright years. | Torbjorn Granlund | 2013-11-28 | 1 | -2/+1 |
| | |||||
* | Clean out __GMP_PROTO. | Torbjorn Granlund | 2012-03-03 | 1 | -1/+1 |
| | |||||
* | Whitespace cleanup. | Torbjorn Granlund | 2010-11-22 | 1 | -1/+1 |
| | |||||
* | Finish renaming BITS_PER_MP_LIMB to GMP_LIMB_BITS. | Torbjorn Granlund | 2009-11-28 | 1 | -5/+5 |
| | |||||
* | Change _PROTO => __GMP_PROTO. | Torbjorn Granlund | 2008-12-07 | 1 | -1/+1 |
| | |||||
* | Update license to version 3. | tege | 2007-09-18 | 1 | -4/+2 |
| | |||||
* | Update FSF's address. | tege | 2006-02-15 | 1 | -2/+2 |
| | |||||
* | Add a copyright year. | tege | 2005-11-01 | 1 | -1/+1 |
| | |||||
* | (mpz_probab_prime_p): Considerably limit trial dividing. | tege | 2005-10-31 | 1 | -1/+1 |
| | |||||
* | Comments related to: | Kevin Ryde | 2002-12-16 | 1 | -0/+6 |
| | | | | * mpz/pprime_p.c: Use MPN_MOD_OR_MODEXACT_1_ODD. | ||||
* | * mpz/pprime_p.c: Use MPN_MOD_OR_MODEXACT_1_ODD. | Kevin Ryde | 2002-12-16 | 1 | -1/+1 |
| | |||||
* | * mpz/pprime_p.c: Handle small negatives with isprime, in particular | Kevin Ryde | 2002-08-30 | 1 | -1/+1 |
| | | | | must do so for n==-2. | ||||
* | Partially undo last change--handle small and negative numbers in the | tege | 2002-08-23 | 1 | -11/+10 |
| | | | | same test. | ||||
* | * mpz/pprime_p.c: Fake up a local mpz_t to take abs(n), rather than | Kevin Ryde | 2002-08-12 | 1 | -12/+11 |
| | | | | using mpz_init etc. | ||||
* | * mpz/bin_ui.c, mpz/jacobi.c, mpz/pprime_p.c, mpn/generic/divis.c: | Kevin Ryde | 2002-07-20 | 1 | -4/+4 |
| | | | | More care with mp_size_t parameters, for the benefit of K&R. | ||||
* | (mpz_millerrabin): Remove declaration. | tege | 2001-10-23 | 1 | -1/+0 |
| | |||||
* | (mpz_millerrabin): Remove function and its descendant. | tege | 2001-10-23 | 1 | -76/+0 |
| | |||||
* | * mpz/pprime_p.c: Use ASSERT_ALWAYS instead of abort. | Kevin Ryde | 2001-02-01 | 1 | -2/+1 |
| | |||||
* | Remove K&R function headers. | tege | 2001-01-02 | 1 | -28/+1 |
| | |||||
* | * mpn/generic/perfsqr.c, mpz/pprime_p.c: Use MPN_MOD_OR_PREINV_MOD_1. | Kevin Ryde | 2000-12-18 | 1 | -5/+5 |
| | |||||
* | Generalize PP handling for machines with limbs of < 32 bits. | tege | 2000-12-11 | 1 | -3/+18 |
| | | | | Allow PP_INVERTED to be undefined. | ||||
* | Copyright (C) -> Copyright. | Kevin Ryde | 2000-10-15 | 1 | -1/+1 |
| | |||||
* | * mpz/pprime_p.c (mpz_millerrabin): Fix TMP_FREE location. | Kevin Ryde | 2000-08-25 | 1 | -1/+1 |
| | |||||
* | *** empty log message *** | tege | 2000-07-24 | 1 | -4/+4 |
| | |||||
* | Provide dual ANSI/K&R function definitions. | Kevin Ryde | 2000-04-29 | 1 | -3/+22 |
| | |||||
* | Remember TMP_MARK/TMP_FREE... | tege | 2000-04-21 | 1 | -1/+7 |
| | |||||
* | (mpz_probab_prime_p): Merge handling of negative n into code for handling | tege | 2000-04-21 | 1 | -90/+79 |
| | | | | | | | | small positive n. Merge variables m and n. After dividing, simply call mpz_millerrabin. (isprime): Local variables now use attribute `long'. (mpz_millerrabin): New static function, based on code from mpz_probab_prime_p. (millerrabin): Now simple workhorse for mpz_mil | ||||
* | Add a copyright year. | Kevin Ryde | 2000-04-12 | 1 | -2/+2 |
| | |||||
* | Change parameter order in call to gmp_randinit(). | Linus Nordberg | 2000-04-10 | 1 | -1/+1 |
| | |||||
* | (millerrabin): ... and don't forget to call gmp_randclear. | tege | 2000-04-10 | 1 | -3/+13 |
| | |||||
* | (millerrabin): Use new random interface. | tege | 2000-04-10 | 1 | -1/+6 |
| | |||||
* | Pass 0L for mpz_scan1. mpz_mmod => mpz_mod. | tege | 2000-04-10 | 1 | -2/+2 |
| | |||||
* | * Pass 1L, not 1, to mpz_cmp_ui. | tege | 1999-02-22 | 1 | -1/+42 |
| | | | | * (mpz_probab_prime_p): Add new code block for doing more dividing. | ||||
* | * (mpz_probab_prime_p): Major overhaul: Check small numers specifically; | tege | 1998-05-05 | 1 | -52/+108 |
| | | | | | | | | check small factors, then perform a fermat test. * (mpz_probab_prime_p): Delete 59 from tried divisors. * Use mpn_mod_1/mpn_preinv_mod_1 for computing mod PP, not mpz_tdiv_r_ui (which expects an `unsigned long'). * (mpz_probab_prime_p): Change type of `r' to mp_limb_t. | ||||
* | When n <= 3, don't clear out n before using it. | tege | 1996-09-20 | 1 | -1/+2 |
| | |||||
* | Initial revision | tege | 1996-05-08 | 1 | -0/+115 |