From 9bf7d0a9a20f36a151c75442f5d40e29b1f8f959 Mon Sep 17 00:00:00 2001 From: vlefevre Date: Sun, 7 Apr 2002 00:38:47 +0000 Subject: mpfr_get_d -> mpfr_get_d1 and mpfr_get_d2 -> mpfr_get_d. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1825 280ebfd0-de03-0410-8827-d642c229c3f4 --- tests/tlog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/tlog.c') diff --git a/tests/tlog.c b/tests/tlog.c index 7243777c6..3a0dcd1c4 100644 --- a/tests/tlog.c +++ b/tests/tlog.c @@ -75,7 +75,7 @@ check1 (double a, mp_rnd_t rnd_mode, double res1, int ck, int max_ulp) mpfr_init2(tres, 53); mpfr_set_d(ta, a, GMP_RNDN); mpfr_log(tres, ta, rnd_mode); - res2=mpfr_get_d(tres); + res2=mpfr_get_d1 (tres); mpfr_clear(ta); mpfr_clear(tres); if (res1!=res2 && (!isnan(res1) || !isnan(res2))) { @@ -247,7 +247,7 @@ special (void) mpfr_init2 (y, 53); mpfr_set_ui (x, 3, GMP_RNDD); mpfr_log (y, x, GMP_RNDD); - if (mpfr_get_d (y) != 1.09861228866810956) { + if (mpfr_get_d1 (y) != 1.09861228866810956) { fprintf (stderr, "Error in mpfr_log(3) for GMP_RNDD\n"); exit (1); } -- cgit v1.2.1