version 1.1.1.2, 2000/09/09 14:12:56 |
version 1.1.1.3, 2003/08/25 16:06:33 |
|
|
long runs of consecutive ones and zeros in the binary representation. |
long runs of consecutive ones and zeros in the binary representation. |
Meant for testing of other MP routines. |
Meant for testing of other MP routines. |
|
|
Copyright (C) 1991, 1993, 1994, 1996 Free Software Foundation, Inc. |
Copyright 1991, 1993, 1994, 1996, 2001 Free Software Foundation, Inc. |
|
|
This file is part of the GNU MP Library. |
This file is part of the GNU MP Library. |
|
|
Line 25 MA 02111-1307, USA. */ |
|
Line 25 MA 02111-1307, USA. */ |
|
#include "gmp-impl.h" |
#include "gmp-impl.h" |
|
|
void |
void |
#if __STDC__ |
|
mpz_random2 (mpz_ptr x, mp_size_t size) |
mpz_random2 (mpz_ptr x, mp_size_t size) |
#else |
|
mpz_random2 (x, size) |
|
mpz_ptr x; |
|
mp_size_t size; |
|
#endif |
|
{ |
{ |
mp_size_t abs_size; |
mp_size_t abs_size; |
|
|