summaryrefslogtreecommitdiff
path: root/tests/tsqrt.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2010-04-30 14:37:47 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2010-04-30 14:37:47 +0000
commitacfc55ee40c11735c67f86554adae6f06fb27bf6 (patch)
treeb3825ef6d5f8bb416694facf37f449375aacb391 /tests/tsqrt.c
parent36b2d705037cc99806b571fc7222f445e7d10f81 (diff)
downloadmpfr-acfc55ee40c11735c67f86554adae6f06fb27bf6.tar.gz
Changed mp_prec_t into mpfr_prec_t.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6767 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsqrt.c')
-rw-r--r--tests/tsqrt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/tsqrt.c b/tests/tsqrt.c
index 9c147ddcf..505c53c32 100644
--- a/tests/tsqrt.c
+++ b/tests/tsqrt.c
@@ -110,7 +110,7 @@ check24 (const char *as, mpfr_rnd_t rnd_mode, const char *qs)
}
static void
-check_diverse (const char *as, mp_prec_t p, const char *qs)
+check_diverse (const char *as, mpfr_prec_t p, const char *qs)
{
mpfr_t q;
@@ -187,7 +187,7 @@ special (void)
{
mpfr_t x, y, z;
int inexact;
- mp_prec_t p;
+ mpfr_prec_t p;
mpfr_init (x);
mpfr_init (y);
@@ -419,7 +419,7 @@ special (void)
}
static void
-check_inexact (mp_prec_t p)
+check_inexact (mpfr_prec_t p)
{
mpfr_t x, y, z;
mpfr_rnd_t rnd;
@@ -499,7 +499,7 @@ check_nan (void)
/* check that -1 <= x/sqrt(x^2+s*y^2) <= 1 for rounding to nearest or up
with s = 0 and s = 1 */
static void
-test_property1 (mp_prec_t p, mpfr_rnd_t r, int s)
+test_property1 (mpfr_prec_t p, mpfr_rnd_t r, int s)
{
mpfr_t x, y, z, t;
@@ -538,7 +538,7 @@ test_property1 (mp_prec_t p, mpfr_rnd_t r, int s)
/* check sqrt(x^2) = x */
static void
-test_property2 (mp_prec_t p, mpfr_rnd_t r)
+test_property2 (mpfr_prec_t p, mpfr_rnd_t r)
{
mpfr_t x, y;
@@ -568,7 +568,7 @@ test_property2 (mp_prec_t p, mpfr_rnd_t r)
int
main (void)
{
- mp_prec_t p;
+ mpfr_prec_t p;
int k;
tests_start_mpfr ();