summaryrefslogtreecommitdiff
path: root/gmp-impl.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-impl.h
parent7b05db5728122c820c2065cb654bb7fc961d2a29 (diff)
downloadgmp-1c6cad664feb7f196941b4e7c1c813cbfd265b58.tar.gz
Add _ui variants of random funcs.
Diffstat (limited to 'gmp-impl.h')
-rw-r--r--gmp-impl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gmp-impl.h b/gmp-impl.h
index 8bac22e8f..4c815d3d2 100644
--- a/gmp-impl.h
+++ b/gmp-impl.h
@@ -448,6 +448,15 @@ void __gmpn_sqr_basecase _PROTO ((mp_ptr, mp_srcptr, mp_size_t));
void __gmpn_mul_n _PROTO ((mp_ptr, mp_srcptr, mp_srcptr, mp_size_t, mp_ptr));
void __gmpn_sqr _PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_ptr));
+void __gmp_rand_init_common _PROTO ((gmp_rand_state *s,
+ gmp_rand_algorithm alg,
+ unsigned long int size,
+ mpz_t seed));
+void __gmp_rand_init_common_ui _PROTO ((gmp_rand_state *s,
+ gmp_rand_algorithm alg,
+ unsigned long int size,
+ unsigned long int seed));
+
extern int __gmp_junk;
extern const int __gmp_0;
#define DIVIDE_BY_ZERO (__gmp_junk = 10/__gmp_0)