diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-11-10 08:25:31 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-11-10 08:25:31 +0000 |
commit | 175b5c220a38548d9659e00e0e1fd2c98d30769d (patch) | |
tree | cf13eaac1c901d165942ca1169bd3a93f445b499 /tune | |
parent | 273dcf24eb17012071b2a63e499e290479f7435d (diff) | |
download | mpfr-175b5c220a38548d9659e00e0e1fd2c98d30769d.tar.gz |
[src/mulders.c] fixed issue with --enable-gmp-internals
[tune/tuneup.c] likewise
(see https://sympa.inria.fr/sympa/arc/mpfr/2018-11/msg00015.html)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13253 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tune')
-rw-r--r-- | tune/tuneup.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tune/tuneup.c b/tune/tuneup.c index 08e6d11e7..e618740f3 100644 --- a/tune/tuneup.c +++ b/tune/tuneup.c @@ -859,7 +859,7 @@ tune_div_mulders_upto (mp_size_t n) double t, tbest; MPFR_TMP_DECL (marker); - /* we require n > 2 in mpfr_divhigh (at least with mpn_sbpi1_divappr_q) */ + /* we require n > 2 in mpfr_divhigh */ if (n <= 2) { divhigh_ktab[n] = 0; @@ -874,10 +874,6 @@ tune_div_mulders_upto (mp_size_t n) mpn_random (s.xp, n); mpn_random (s.yp, n); -#if defined(WANT_GMP_INTERNALS) && defined(HAVE___GMPN_SBPI1_DIVAPPR_Q) - MPFR_ASSERTN (n > 2); /* mpn_sbpi1_divappr_q requires dn > 2 */ -#endif - /* Check k == 0, i.e., mpfr_divhigh_n_basecase */ kbest = 0; tbest = mpfr_speed_measure (speed_mpfr_divhigh, &s, "mpfr_divhigh"); |