summaryrefslogtreecommitdiff
path: root/tests/texp10.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texp10.c')
-rw-r--r--tests/texp10.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/texp10.c b/tests/texp10.c
index 27d6b6fa9..71a5e8190 100644
--- a/tests/texp10.c
+++ b/tests/texp10.c
@@ -137,13 +137,13 @@ overfl_exp10_0 (void)
{
mpfr_set_si_2exp (x, i, -512 * ABS (i), MPFR_RNDN);
mpfr_clear_flags ();
- inex = mpfr_exp10 (x, x, (mp_rnd_t) rnd);
+ inex = mpfr_exp10 (x, x, (mpfr_rnd_t) rnd);
if ((i >= 0 || emax < 0 || rnd == MPFR_RNDN || rnd == MPFR_RNDU) &&
! mpfr_overflow_p ())
{
printf ("Error in overfl_exp10_0 (i = %d, rnd = %s):\n"
" The overflow flag is not set.\n",
- i, mpfr_print_rnd_mode ((mp_rnd_t) rnd));
+ i, mpfr_print_rnd_mode ((mpfr_rnd_t) rnd));
err = 1;
}
if (rnd == MPFR_RNDZ || rnd == MPFR_RNDD)
@@ -152,13 +152,13 @@ overfl_exp10_0 (void)
{
printf ("Error in overfl_exp10_0 (i = %d, rnd = %s):\n"
" The inexact value must be negative.\n",
- i, mpfr_print_rnd_mode ((mp_rnd_t) rnd));
+ i, mpfr_print_rnd_mode ((mpfr_rnd_t) rnd));
err = 1;
}
if (! mpfr_equal_p (x, y))
{
printf ("Error in overfl_exp10_0 (i = %d, rnd = %s):\n"
- " Got ", i, mpfr_print_rnd_mode ((mp_rnd_t) rnd));
+ " Got ", i, mpfr_print_rnd_mode ((mpfr_rnd_t) rnd));
mpfr_print_binary (x);
printf (" instead of 0.11111111E%d.\n", emax);
err = 1;
@@ -170,13 +170,13 @@ overfl_exp10_0 (void)
{
printf ("Error in overfl_exp10_0 (i = %d, rnd = %s):\n"
" The inexact value must be positive.\n",
- i, mpfr_print_rnd_mode ((mp_rnd_t) rnd));
+ i, mpfr_print_rnd_mode ((mpfr_rnd_t) rnd));
err = 1;
}
if (! (mpfr_inf_p (x) && MPFR_SIGN (x) > 0))
{
printf ("Error in overfl_exp10_0 (i = %d, rnd = %s):\n"
- " Got ", i, mpfr_print_rnd_mode ((mp_rnd_t) rnd));
+ " Got ", i, mpfr_print_rnd_mode ((mpfr_rnd_t) rnd));
mpfr_print_binary (x);
printf (" instead of +Inf.\n");
err = 1;