diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-08-18 17:03:17 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-08-18 17:03:17 +0000 |
commit | d8782b82c961338b15ef888f0bc152566644a964 (patch) | |
tree | 6972f3706c8251eb2b814fb636519519b73bb1f5 /tests/tsqr.c | |
parent | bab5aab404897a12fe1c87734ebf2aa270b9b73b (diff) | |
download | mpfr-d8782b82c961338b15ef888f0bc152566644a964.tar.gz |
Removed trailing spaces (better for future patches, as such spaces
are sometimes stripped).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3726 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsqr.c')
-rw-r--r-- | tests/tsqr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/tsqr.c b/tests/tsqr.c index 103b8bced..dce8d4960 100644 --- a/tests/tsqr.c +++ b/tests/tsqr.c @@ -41,14 +41,14 @@ int main(void) return 0; } -static int +static int inexact_sign (int x) { return (x < 0) ? -1 : (x > 0); } -static void -error1 (mp_rnd_t rnd, mpfr_prec_t prec, +static void +error1 (mp_rnd_t rnd, mpfr_prec_t prec, mpfr_t in, mpfr_t outmul, mpfr_t outsqr) { printf("ERROR: for %s and prec=%lu\nINPUT=", mpfr_print_rnd_mode(rnd), prec); @@ -59,7 +59,7 @@ error1 (mp_rnd_t rnd, mpfr_prec_t prec, } static void -error2 (mp_rnd_t rnd, mpfr_prec_t prec, mpfr_t in, mpfr_t out, +error2 (mp_rnd_t rnd, mpfr_prec_t prec, mpfr_t in, mpfr_t out, int inexactmul, int inexactsqr) { printf("ERROR: for %s and prec=%lu\nINPUT=", mpfr_print_rnd_mode(rnd), prec); @@ -104,7 +104,7 @@ void check_special(void) mpfr_set_nan (x); mpfr_sqr (y, x, GMP_RNDN); MPFR_ASSERTN (mpfr_nan_p (y)); - + mpfr_set_inf (x, 1); mpfr_sqr (y, x, GMP_RNDN); MPFR_ASSERTN (mpfr_inf_p (y) && mpfr_sgn (y) > 0); |