diff options
author | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2013-12-05 11:59:34 +0000 |
---|---|---|
committer | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2013-12-05 11:59:34 +0000 |
commit | 7bd120adc09725ce81a62cc4110ae3bc862b8934 (patch) | |
tree | 4af589bf1af986a663ab47ec4feba8dad2f58f1f | |
parent | 7fffbe10bca97f2b25744077329d7c2e70e4d190 (diff) | |
download | mpc-7bd120adc09725ce81a62cc4110ae3bc862b8934.tar.gz |
[tests/] Reduce uniformly the range of random (un)signed long integers for an acceptable testing time on 64-bit processors.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/branches/benchs_tests@1394 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r-- | tests/tgeneric.tpl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/tgeneric.tpl b/tests/tgeneric.tpl index 1b0d752..5d65afb 100644 --- a/tests/tgeneric.tpl +++ b/tests/tgeneric.tpl @@ -239,9 +239,8 @@ random_params (mpc_fun_param_t *params, int base_index = 0; const int start = params->nbout; const int end = start + params->nbin; - const unsigned int int_emax = 63; /* maximum binary exponent for random - integer */ - + const unsigned int int_emax = 42; /* maximum binary exponent for random + integer */ for (i = start; i < end; i++) { @@ -256,7 +255,7 @@ random_params (mpc_fun_param_t *params, test_random_si (¶ms->P[i].si, int_emax, 128); break; case NATIVE_UL: - test_random_si (&si, int_emax, 0); + test_random_si (&si, int_emax, 128); params->P[i].ui = (unsigned long)si; break; |