summaryrefslogtreecommitdiff
path: root/tests/tfrac.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/tfrac.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/tfrac.c')
-rw-r--r--tests/tfrac.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/tfrac.c b/tests/tfrac.c
index ae8501144..6c3020b72 100644
--- a/tests/tfrac.c
+++ b/tests/tfrac.c
@@ -30,7 +30,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#define PMAX (PIP+2*PFP)
static void
-check0 (mpfr_ptr ip, mpfr_ptr fp, mp_prec_t prec, mp_rnd_t rnd)
+check0 (mpfr_ptr ip, mpfr_ptr fp, mp_prec_t prec, mpfr_rnd_t rnd)
{
mpfr_t sum, tmp, dst, fp2;
int inex1, inex2;
@@ -118,12 +118,12 @@ check1 (mpfr_ptr ip, mpfr_ptr fp)
for (rnd = 0; rnd < MPFR_RND_MAX ; rnd++)
{
- check0 (ip, fp, PMAX, (mp_rnd_t) rnd);
- check0 (ip, fp, 70, (mp_rnd_t) rnd);
+ check0 (ip, fp, PMAX, (mpfr_rnd_t) rnd);
+ check0 (ip, fp, 70, (mpfr_rnd_t) rnd);
mpfr_neg (fp, fp, MPFR_RNDN);
mpfr_neg (ip, ip, MPFR_RNDN);
- check0 (ip, fp, PMAX, (mp_rnd_t) rnd);
- check0 (ip, fp, 70, (mp_rnd_t) rnd);
+ check0 (ip, fp, PMAX, (mpfr_rnd_t) rnd);
+ check0 (ip, fp, 70, (mpfr_rnd_t) rnd);
mpfr_neg (fp, fp, MPFR_RNDN);
mpfr_neg (ip, ip, MPFR_RNDN);
}