summaryrefslogtreecommitdiff
path: root/mpz/nextprime.c
Commit message (Expand)AuthorAgeFilesLines
* mpz/nextprime.c (findnext): Use TMP_ALLOC_TYPE instead of TMP_SALLOC_TYPEMarco Bodrato2022-10-281-1/+1
* mpz/nextprime.c: Smaller operand for sqrtMarco Bodrato2022-05-141-2/+3
* mpz/nextprime.c: Revert nth_nextprime stub, and cleanupMarco Bodrato2022-05-141-8/+8
* mpz/nextprime.c: Prepare for nth_nextprimeMarco Bodrato2022-05-141-5/+5
* mpz/nextprime.c: A single place to restrict to odd numbers.Marco Bodrato2021-11-071-5/+3
* mpz/nextprime.c: Simpler loop on sieved primes.Marco Bodrato2021-09-261-34/+9
* mpz/nextprime.c (mpz_prevprime): New function. (by Troisi)Marco Bodrato2020-11-231-21/+66
* mpz/nextprime.c: Remove a commentMarco Bodrato2020-03-241-1/+0
* mpz/nextprime.c (mpz_nextprime_small): New fast path for small values, by Tro...Marco Bodrato2020-03-241-6/+33
* mpz/nextprime.c: Update some comments.Marco Bodrato2020-03-241-1/+5
* mpz/nextprime.c: Small adjustments.Marco Bodrato2020-03-201-23/+30
* mpz/nextprime.c: Speed-up for large primes, using a sieve. (By Seth Troisi)Marco Bodrato2020-03-201-51/+158
* mpz/nextprime.c: Fixed overallocSeth Troisi2019-09-081-1/+1
* mpz/nextprime.c: Use tdiv instead of fdivMarco Bodrato2018-10-311-1/+1
* Include just gmp-impl.h, make gmp-impl.h grab gmp.h.Torbjorn Granlund2016-08-291-1/+0
* Update library files license to use LGPL3+ and GPL2+.Torbjorn Granlund2014-01-271-7/+18
* Canonicalise copyright headers.Torbjorn Granlund2014-01-191-3/+3
* Encoding conversion to UTF-8Marco Bodrato2013-12-261-1/+1
* Use https to link to GNU license.Torbjorn Granlund2013-12-021-1/+1
* Collapse copyright years.Torbjorn Granlund2013-11-281-1/+1
* Use MPN_SIZEINBASE_2EXP to count bitsMarco Bodrato2012-06-241-4/+2
* Run 25 mpz_millerrabin tests (was 10).Torbjorn Granlund2011-10-041-1/+1
* Change all bit counts for bignums to use mp_bitcnt_t. Update documentation.Torbjorn Granlund2009-12-201-1/+1
* Update headers.Torbjorn Granlund2009-11-141-1/+1
* Handle large prime gaps by limiting incr.Torbjorn Granlund2009-01-081-26/+33
* Add TMP_SDECL/MARK/FREE.Torbjorn Granlund2008-12-211-0/+5
* Run 10 mpz_millerrabin tests (was 5).Torbjorn Granlund2008-12-181-1/+3
* Move declarations to function beginning.Torbjorn Granlund2008-10-241-5/+5
* Rewrite.Torbjorn Granlund2008-10-211-45/+45
* Update license to version 3.tege2007-09-181-4/+2
* Update FSF's address.tege2006-02-151-2/+2
* Remove K&R function headers.tege2001-01-021-13/+1
* Copyright (C) -> Copyright.Kevin Ryde2000-10-151-1/+1
* Remove the reference to gmp 3.1.Kevin Ryde2000-09-251-1/+1
* *** empty log message ***tege2000-07-241-4/+4
* Rewrite still disabled code.tege2000-04-221-104/+23
* Add K&R function definitions.Kevin Ryde2000-04-131-0/+6
* Use proper names of new random types and functions.tege2000-04-131-3/+3
* *** empty log message ***tege2000-04-101-0/+195