diff options
Diffstat (limited to 'tune')
-rw-r--r-- | tune/tuneup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tune/tuneup.c b/tune/tuneup.c index a7402e8f7..1ad02e53f 100644 --- a/tune/tuneup.c +++ b/tune/tuneup.c @@ -857,7 +857,8 @@ tune_div_mulders_upto (mp_size_t n) double t, tbest; MPFR_TMP_DECL (marker); - if (n == 0) + /* we want n>=2 in mpfr_divhigh */ + if (n <= 1) return 0; MPFR_TMP_MARK (marker); |