diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-09-17 10:09:30 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-09-17 10:09:30 +0000 |
commit | b276b076cfe4b808b473daaba00e3adf04581db0 (patch) | |
tree | 5ea15f2f0ccd182636ca012977fd0edda72b3f40 | |
parent | cc479f90171e0c95c54ee3eca5258fddbdb59a8d (diff) | |
parent | ebe0c5961d503ae36ab88eff572ac91440701afe (diff) | |
download | mpfr-b276b076cfe4b808b473daaba00e3adf04581db0.tar.gz |
Merged the latest changes from the trunk (bug fix for 8-bit limb).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/with-mini-gmp@13208 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | tests/random2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/random2.c b/tests/random2.c index df4b743ac..463897f15 100644 --- a/tests/random2.c +++ b/tests/random2.c @@ -23,7 +23,12 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #include "mpfr-test.h" +#if GMP_NUMB_BITS < 16 +#define LOGBITS_PER_BLOCK 3 +#else #define LOGBITS_PER_BLOCK 4 +#endif + #if GMP_NUMB_BITS < 32 #define BITS_PER_RANDCALL GMP_NUMB_BITS #else |