diff options
Diffstat (limited to 'tests/tcmpabs.c')
-rw-r--r-- | tests/tcmpabs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tcmpabs.c b/tests/tcmpabs.c index 6485c80e3..030b8c6d2 100644 --- a/tests/tcmpabs.c +++ b/tests/tcmpabs.c @@ -72,14 +72,14 @@ 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_cmpabs(xx, yy) != 0) ERROR ("Error in mpfr_cmpabs: 1.0 != 1.0\n"); 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_cmpabs(xx,yy)>0)) ERROR ("Error in mpfr_cmpabs: not 1.0000000002 > 1.0\n"); mpfr_set_prec(yy, 53); |