summaryrefslogtreecommitdiff
path: root/tests/tcmp.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2009-06-26 15:35:01 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2009-06-26 15:35:01 +0000
commit3f944f217a6bc9b3d72b73067de160e768f6a4e3 (patch)
tree89d977f3c15ee4383fe0629c40f504c14a352090 /tests/tcmp.c
parent0a7b8e19cf4789f503f55b4e046327c38ab786b3 (diff)
downloadmpfr-3f944f217a6bc9b3d72b73067de160e768f6a4e3.tar.gz
mp_rnd_t -> mpfr_rnd_t
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6295 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tcmp.c')
-rw-r--r--tests/tcmp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tcmp.c b/tests/tcmp.c
index 53397fc1b..a1e97cb3a 100644
--- a/tests/tcmp.c
+++ b/tests/tcmp.c
@@ -80,16 +80,16 @@ main (void)
mpfr_set_prec (xx, 53);
mpfr_set_prec (yy, 200);
- mpfr_set_ui (xx, 1, (mp_rnd_t) 0);
- mpfr_set_ui (yy, 1, (mp_rnd_t) 0);
+ mpfr_set_ui (xx, 1, (mpfr_rnd_t) 0);
+ mpfr_set_ui (yy, 1, (mpfr_rnd_t) 0);
if (mpfr_cmp (xx, yy) != 0)
{
printf ("Error in mpfr_cmp: 1.0 != 1.0\n");
exit (1);
}
mpfr_set_prec (yy, 31);
- mpfr_set_str (xx, "1.0000000002", 10, (mp_rnd_t) 0);
- mpfr_set_ui (yy, 1, (mp_rnd_t) 0);
+ mpfr_set_str (xx, "1.0000000002", 10, (mpfr_rnd_t) 0);
+ mpfr_set_ui (yy, 1, (mpfr_rnd_t) 0);
if (!(mpfr_cmp (xx,yy)>0))
{
printf ("Error in mpfr_cmp: not 1.0000000002 > 1.0\n");