summaryrefslogtreecommitdiff
path: root/tests/tlog10.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/tlog10.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/tlog10.c')
-rw-r--r--tests/tlog10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tlog10.c b/tests/tlog10.c
index da71bff89..4f64ba115 100644
--- a/tests/tlog10.c
+++ b/tests/tlog10.c
@@ -46,7 +46,7 @@ main (int argc, char *argv[])
{
mpfr_mul_ui (x, x, 10, GMP_RNDN); /* x = 10^n */
mpfr_log10 (y, x, GMP_RNDN);
- if (mpfr_get_d (y) != (double) n)
+ if (mpfr_get_d1 (y) != (double) n)
{
fprintf (stderr, "log10(10^n) <> n for n=%u\n", n);
exit (1);