summaryrefslogtreecommitdiff
path: root/tests/tget_sj.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/tget_sj.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/tget_sj.c')
-rw-r--r--tests/tget_sj.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tget_sj.c b/tests/tget_sj.c
index 7f918aad6..241193f71 100644
--- a/tests/tget_sj.c
+++ b/tests/tget_sj.c
@@ -83,12 +83,12 @@ check_sj (intmax_t s, mpfr_ptr x)
(MPFR_IS_NEG(y) && i < 0)))
continue;
/* rint (y) == x == s */
- r = mpfr_get_sj (y, (mp_rnd_t) rnd);
+ r = mpfr_get_sj (y, (mpfr_rnd_t) rnd);
if (r != s)
{
printf ("Error in check_sj for y = ");
mpfr_out_str (stdout, 2, 0, y, MPFR_RNDN);
- printf (" in %s\n", mpfr_print_rnd_mode ((mp_rnd_t) rnd));
+ printf (" in %s\n", mpfr_print_rnd_mode ((mpfr_rnd_t) rnd));
printf ("Got %jd instead of %jd.\n", r, s);
exit (1);
}
@@ -126,12 +126,12 @@ check_uj (uintmax_t u, mpfr_ptr x)
(MPFR_IS_NEG(y) && i < 0)))
continue;
/* rint (y) == x == u */
- r = mpfr_get_uj (y, (mp_rnd_t) rnd);
+ r = mpfr_get_uj (y, (mpfr_rnd_t) rnd);
if (r != u)
{
printf ("Error in check_uj for y = ");
mpfr_out_str (stdout, 2, 0, y, MPFR_RNDN);
- printf (" in %s\n", mpfr_print_rnd_mode ((mp_rnd_t) rnd));
+ printf (" in %s\n", mpfr_print_rnd_mode ((mpfr_rnd_t) rnd));
printf ("Got %ju instead of %ju.\n", r, u);
exit (1);
}