summaryrefslogtreecommitdiff
path: root/mpz/urandomm.c
Commit message (Collapse)AuthorAgeFilesLines
* Consistently use pointers instead of arrays in declarations.Marc Glisse2021-06-061-1/+1
| | | | 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
|
* mpz/urandomm.c: Use mpn_zero_p to shorten code.Marco Bodrato2015-11-081-15/+9
|
* 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
|
* Add copyright years.Torbjorn Granlund2012-11-201-1/+1
|
* Mark failing branches with UNLIKELY.Marco Bodrato2012-05-231-1/+1
|
* Amend last fix.Torbjorn Granlund2009-04-081-6/+6
|
* Handle operand overlap.Torbjorn Granlund2009-04-061-2/+14
|
* Update license to version 3.tege2007-09-181-4/+2
|
* Update FSF's address.tege2006-02-151-2/+2
|
* 2002-09-24 Pedro Gimeno <pggimeno@wanadoo.es>Kevin Ryde2002-09-241-2/+6
| | | | * mpz/urandomm.c: Replace mpn_cmp with MPN_CMP.
* Less of:Kevin Ryde2002-09-181-2/+1
| | | | | | | | 2002-09-10 Pedro Gimeno <pggimeno@wanadoo.es> * mpz/urandomm.c: Use mpn level functions, avoid an infinite loop if _gmp_rand forever returns all "1" bits. Only return positive results, ie. use the absolute value of the modulus.
* 2002-09-10 Pedro Gimeno <pggimeno@wanadoo.es>Kevin Ryde2002-09-101-35/+45
| | | | | * mpz/urandomm.c: Use mpn level functions, avoid an infinite loop if _gmp_rand forever returns all "1" bits.
* Copyright (C) -> Copyright.Kevin Ryde2000-10-151-1/+1
|
* * randlc.c, randlc2x.c, randsd.c, mpz/urandomb.c, mpz/urandomm.c:Kevin Ryde2000-09-251-8/+1
| | | | Use mpz_ptr and mpz_srcptr for parameters.
* * mpz/{fdiv_r_2exp.c,lcm.c,urandomm.c}: Add missing TMP_MARK/FREE,Kevin Ryde2000-08-201-0/+5
| | | | avoiding memory leak when using stack-alloc.c.
* *** empty log message ***tege2000-07-241-4/+4
|
* Clean up some spacing.tege2000-06-301-1/+1
|
* Fix typo.Linus Nordberg2000-04-101-1/+1
|
* Rename most of the random number functions, structs and some of the struct ↵Linus Nordberg2000-04-101-7/+7
| | | | members.
* * Get type of count right.tege2000-04-091-3/+5
| | | | * Simplify computation of nbits.
* Change mpn_rawrandom --> gmp_rand_getraw.Linus Nordberg2000-04-041-1/+1
|
* (mpz_urandomm): Implement function.Linus Nordberg2000-04-041-14/+31
|
* Rename urandomn.c to urandomm.cLinus Nordberg2000-03-311-0/+54