diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2009-12-27 00:25:58 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2009-12-27 00:25:58 +0100 |
commit | 18e37e7efdb72d99ec5a2bfe953dd0302c92aebd (patch) | |
tree | 15c266f5753dc037dbf075c21ddb11aca7860c9b /mpz/cong_ui.c | |
parent | 776e0d3ff6fd1e33993f6553f4eeab4d0be55346 (diff) | |
download | gmp-18e37e7efdb72d99ec5a2bfe953dd0302c92aebd.tar.gz |
Tune BMOD_1_TO_MOD_1_THRESHOLD instead of MODEXACT_1_ODD_THRESHOLD.
Diffstat (limited to 'mpz/cong_ui.c')
-rw-r--r-- | mpz/cong_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/cong_ui.c b/mpz/cong_ui.c index 5969c8fd3..ee68c104b 100644 --- a/mpz/cong_ui.c +++ b/mpz/cong_ui.c @@ -76,7 +76,7 @@ mpz_congruent_ui_p (mpz_srcptr a, unsigned long cu, unsigned long du) ap = PTR (a); - if (BELOW_THRESHOLD (asize, MODEXACT_1_ODD_THRESHOLD)) + if (ABOVE_THRESHOLD (asize, BMOD_1_TO_MOD_1_THRESHOLD)) { r = mpn_mod_1 (ap, asize, d); if (c < d) |