summaryrefslogtreecommitdiff
path: root/tests/tasin.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tasin.c')
-rw-r--r--tests/tasin.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/tasin.c b/tests/tasin.c
index b27b343a0..b92571316 100644
--- a/tests/tasin.c
+++ b/tests/tasin.c
@@ -99,13 +99,13 @@ special (void)
for (r = 0; r < MPFR_RND_MAX; r++)
{
mpfr_set_ui (x, 1, MPFR_RNDN); /* exact */
- mpfr_asin (y, x, (mp_rnd_t) r);
- mpfr_const_pi (x, (mp_rnd_t) r);
+ mpfr_asin (y, x, (mpfr_rnd_t) r);
+ mpfr_const_pi (x, (mpfr_rnd_t) r);
mpfr_div_2exp (x, x, 1, MPFR_RNDN); /* exact */
if (mpfr_cmp (x, y))
{
printf ("Error: asin(1) != Pi/2 for rnd=%s\n",
- mpfr_print_rnd_mode ((mp_rnd_t) r));
+ mpfr_print_rnd_mode ((mpfr_rnd_t) r));
exit (1);
}
}
@@ -114,14 +114,14 @@ special (void)
for (r = 0; r < MPFR_RND_MAX; r++)
{
mpfr_set_si (x, -1, MPFR_RNDN); /* exact */
- mpfr_asin (y, x, (mp_rnd_t) r);
- mpfr_const_pi (x, MPFR_INVERT_RND((mp_rnd_t) r));
+ mpfr_asin (y, x, (mpfr_rnd_t) r);
+ mpfr_const_pi (x, MPFR_INVERT_RND((mpfr_rnd_t) r));
mpfr_neg (x, x, MPFR_RNDN); /* exact */
mpfr_div_2exp (x, x, 1, MPFR_RNDN); /* exact */
if (mpfr_cmp (x, y))
{
printf ("Error: asin(-1) != -Pi/2 for rnd=%s\n",
- mpfr_print_rnd_mode ((mp_rnd_t) r));
+ mpfr_print_rnd_mode ((mpfr_rnd_t) r));
exit (1);
}
}