summaryrefslogtreecommitdiff
path: root/rand.c
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 /rand.c
parent7b05db5728122c820c2065cb654bb7fc961d2a29 (diff)
downloadgmp-1c6cad664feb7f196941b4e7c1c813cbfd265b58.tar.gz
Add _ui variants of random funcs.
Diffstat (limited to 'rand.c')
-rw-r--r--rand.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/rand.c b/rand.c
index f81b2ee60..ce4dd44be 100644
--- a/rand.c
+++ b/rand.c
@@ -20,7 +20,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
#include <stdlib.h> /* FIXME: For malloc(). */
-#include <gmp.h>
+#include "gmp.h"
/* Array of CL-schemes, ordered in increasing order for the first
member (the 'bits' value). The 'm' entry is converted by
@@ -46,9 +46,6 @@ static __gmp_rand_lc_scheme_struct __gmp_rand_scheme[] =
12345, /* c (adder) */
"0x80000000"}, /* m (modulo) = 2^31 */
- /* Testing. FIXME: Remove. */
- /* {32, "2", 1, "10"},*/
-
/* The multipliers are all between 0.01m and 0.99m, and are
congruent to 5 (mod 8). */