summaryrefslogtreecommitdiff
path: root/tests/tset_q.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/tset_q.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/tset_q.c')
-rw-r--r--tests/tset_q.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tset_q.c b/tests/tset_q.c
index 3c873ad53..5843e8f73 100644
--- a/tests/tset_q.c
+++ b/tests/tset_q.c
@@ -26,7 +26,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-test.h"
static void
-check (long int n, long int d, mp_rnd_t rnd, const char *ys)
+check (long int n, long int d, mpfr_rnd_t rnd, const char *ys)
{
mpq_t q;
mpfr_t x, t;
@@ -83,11 +83,11 @@ static void check0(void)
mpq_set_si (y, 0, 1);
for (r = 0; r < MPFR_RND_MAX; r++)
{
- inexact = mpfr_set_q(x, y, (mp_rnd_t) r);
+ inexact = mpfr_set_q(x, y, (mpfr_rnd_t) r);
if (!MPFR_IS_ZERO(x) || !MPFR_IS_POS(x) || inexact)
{
printf("mpfr_set_q(x,0) failed for %s\n",
- mpfr_print_rnd_mode ((mp_rnd_t) r));
+ mpfr_print_rnd_mode ((mpfr_rnd_t) r));
exit(1);
}
}