diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2021-01-31 11:02:21 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2021-01-31 11:02:21 +0000 |
commit | 070587279951e953938c529abbe09d90f991d130 (patch) | |
tree | b5d88add6712682398b79442feb7b0a44c86b8c5 /tests/tfpif.c | |
parent | 52017aa9dda8bf7c3a1b81d9ebe465796d03891b (diff) | |
download | mpfr-070587279951e953938c529abbe09d90f991d130.tar.gz |
[tests/*.c] When not in a test, use set_emin and set_emax rather than
mpfr_set_emin and mpfr_set_emax, in order to check failures.
Done with: perl -pi -e 's/^ *\Kmpfr_(set_e(min|max) *\()/\1/' *.c
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14284 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tfpif.c')
-rw-r--r-- | tests/tfpif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tfpif.c b/tests/tfpif.c index 6c8882ce5..23b0f4dfa 100644 --- a/tests/tfpif.c +++ b/tests/tfpif.c @@ -286,7 +286,7 @@ check_bad (void) if (i == 9) { emax = mpfr_get_emax (); - mpfr_set_emax (46); + set_emax (46); } rewind (fh); status = fwrite (&badData[i][0], badDataSize[i], 1, fh); @@ -352,7 +352,7 @@ check_bad (void) exit (1); } if (i == 9) - mpfr_set_emax (emax); + set_emax (emax); } if (fclose (fh) != 0) |