summaryrefslogtreecommitdiff
path: root/tests/tcmp.c
diff options
context:
space:
mode:
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");