summaryrefslogtreecommitdiff
path: root/tests/tlog.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2002-04-07 00:38:47 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2002-04-07 00:38:47 +0000
commit9bf7d0a9a20f36a151c75442f5d40e29b1f8f959 (patch)
tree8ef85d212aed286d03a33cecb0f35e5d1d57497b /tests/tlog.c
parent2c1213f578f342a6dd42d797ad292cb8da9154d0 (diff)
downloadmpfr-9bf7d0a9a20f36a151c75442f5d40e29b1f8f959.tar.gz
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
Diffstat (limited to 'tests/tlog.c')
-rw-r--r--tests/tlog.c4
1 files changed, 2 insertions, 2 deletions
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);
}