From 3f944f217a6bc9b3d72b73067de160e768f6a4e3 Mon Sep 17 00:00:00 2001 From: vlefevre Date: Fri, 26 Jun 2009 15:35:01 +0000 Subject: mp_rnd_t -> mpfr_rnd_t git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6295 280ebfd0-de03-0410-8827-d642c229c3f4 --- cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cache.c') diff --git a/cache.c b/cache.c index acbf4fa97..0f7640950 100644 --- a/cache.c +++ b/cache.c @@ -26,7 +26,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., useful if some user wants to add a new constant to mpfr, and implement a cache mechanism for that constant */ void -mpfr_init_cache (mpfr_cache_t cache, int (*func)(mpfr_ptr, mp_rnd_t)) +mpfr_init_cache (mpfr_cache_t cache, int (*func)(mpfr_ptr, mpfr_rnd_t)) { MPFR_PREC (cache->x) = 0; /* Invalid prec to detect that the cache is not valid. Maybe add a flag? */ @@ -43,7 +43,7 @@ mpfr_clear_cache (mpfr_cache_t cache) } int -mpfr_cache (mpfr_ptr dest, mpfr_cache_t cache, mp_rnd_t rnd) +mpfr_cache (mpfr_ptr dest, mpfr_cache_t cache, mpfr_rnd_t rnd) { mp_prec_t prec = MPFR_PREC (dest); mp_prec_t pold = MPFR_PREC (cache->x); -- cgit v1.2.1