summaryrefslogtreecommitdiff
path: root/mpz/rrandomb.c
Commit message (Collapse)AuthorAgeFilesLines
* Consistently use pointers instead of arrays in declarations.Marc Glisse2021-06-061-3/+3
| | | | gmp_randstate_t -> gmp_randstate_ptr, etc
* 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
|
* Use https to link to GNU license.Torbjorn Granlund2013-12-021-1/+1
|
* Collapse copyright years.Torbjorn Granlund2013-11-281-1/+1
|
* Use BITS_TO_LIMBS and MPZ_NEWALLOC in random functions.Marco Bodrato2013-02-121-3/+3
|
* Use MPZ_REALLOC return value when possible.Torbjorn Granlund2012-05-261-3/+4
|
* Clean out __GMP_PROTO.Torbjorn Granlund2012-03-031-1/+1
|
* Change all bit counts for bignums to use mp_bitcnt_t. Update documentation.Torbjorn Granlund2009-12-201-4/+4
|
* Change _PROTO => __GMP_PROTO.Torbjorn Granlund2008-12-071-1/+1
|
* Update license to version 3.tege2007-09-181-4/+2
|
* Update FSF's address.tege2006-02-151-2/+2
|
* (gmp_rrandomb): Rework again.tege2004-12-041-5/+5
|
* (gmp_rrandomb): Rework to avoid extra limb allocationtege2004-04-271-19/+23
| | | | and to generate even numbers.
* (gmp_rrandomb): Rewrite.tege2004-02-181-73/+29
|
* Add a copyright year.tege2002-05-141-1/+1
|
* Nailify. Needs further work.tege2002-04-151-9/+16
|
* Some debugging code removed (oops).tege2001-10-041-3/+3
|
* Initialize ran_nbits (error introduced in last change).tege2001-10-041-3/+4
|
* (gmp_rrandomb): Change bit_pos to be 0-based (was 1-based); shift 2 (was 1)tege2001-10-041-23/+46
| | | | | when making bit mask. These two changes avoid undefined shift counts. (gmp_rrandomb): Avoid most calls to _gmp_rand by caching random values.
* Remove K&R function headers.tege2001-01-021-15/+1
|
* Remove unused variable.tege2000-12-091-1/+0
|
* Copyright (C) -> Copyright.Kevin Ryde2000-10-151-1/+1
|
* *** empty log message ***tege2000-07-241-4/+4
|
* Provide dual ANSI/K&R function definitions.Kevin Ryde2000-04-291-2/+6
|
* * mpz/rrandomb.c: Fix typo in K&R part.Kevin Ryde2000-04-131-1/+1
|
* Initial implementation.tege2000-04-131-0/+113