summaryrefslogtreecommitdiff
path: root/gmp.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>1999-05-20 17:01:27 +0200
committerLinus Nordberg <linus@nordberg.se>1999-05-20 17:01:27 +0200
commit1c6cad664feb7f196941b4e7c1c813cbfd265b58 (patch)
treecc06ed608dbf1c64adaee3cd03672372dbdd78d5 /gmp.h
parent7b05db5728122c820c2065cb654bb7fc961d2a29 (diff)
downloadgmp-1c6cad664feb7f196941b4e7c1c813cbfd265b58.tar.gz
Add _ui variants of random funcs.
Diffstat (limited to 'gmp.h')
-rw-r--r--gmp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gmp.h b/gmp.h
index 207b0059d..794ab988c 100644
--- a/gmp.h
+++ b/gmp.h
@@ -209,12 +209,22 @@ int gmp_rand_init _PROTO ((gmp_rand_state *s,
gmp_rand_algorithm alg,
unsigned long int size,
mpz_t seed));
+int gmp_rand_init_ui _PROTO ((gmp_rand_state *s,
+ gmp_rand_algorithm alg,
+ unsigned long int size,
+ unsigned long int seed));
void gmp_rand_init_lc _PROTO ((gmp_rand_state *s,
unsigned long int size,
mpz_t seed,
mpz_t a,
unsigned long int c,
mpz_t m));
+void gmp_rand_init_lc_ui _PROTO ((gmp_rand_state *s,
+ unsigned long int size,
+ unsigned long int seed,
+ unsigned long int a,
+ unsigned long int c,
+ unsigned long int m));
void gmp_rand_clear _PROTO ((gmp_rand_state *s));
/**************** Integer (i.e. Z) routines. ****************/