summaryrefslogtreecommitdiff
path: root/cache.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-07-06 12:02:59 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-07-06 12:02:59 +0000
commit29234924c13b2fb1e251cf0bbd0e4ba290d515c7 (patch)
treeabcfecdaea80f0f005041cb373c34f7da197e99d /cache.c
parent722c6b56c06fd621ba8bbf6fc08044dec707f75a (diff)
downloadmpfr-29234924c13b2fb1e251cf0bbd0e4ba290d515c7.tar.gz
Likely a test (since cache should always work fine).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2929 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'cache.c')
-rw-r--r--cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.c b/cache.c
index b5fc45635..0034cb151 100644
--- a/cache.c
+++ b/cache.c
@@ -54,7 +54,7 @@ mpfr_cache (mpfr_ptr dest, mpfr_cache_t cache, mp_rnd_t rnd)
mpfr_init2 (cache->x, MPFR_PREC_MIN);
/* Check if we can round with the previous result */
- else if (prec <= pold)
+ else if (MPFR_LIKELY(prec <= pold))
goto round;
/* Update the cache */