diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-11-27 11:47:39 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-11-27 11:47:39 +0000 |
commit | bb0dadab184b7ebf629839c266b69f1bb8dc0c29 (patch) | |
tree | 13f7d4efe22e58260d59e0be1fa55b47660ebb59 /tests/tstrtofr.c | |
parent | 0c67d8ef5eed26eef21fc6f962c5d46bae32787e (diff) | |
download | mpfr-bb0dadab184b7ebf629839c266b69f1bb8dc0c29.tar.gz |
[src/mpfr-impl.h] Added a comment with a warning concerning the
meaning of MPFR_EXP_FSPEC.
[tests/tstrtofr.c] Fixed a MPFR_EXP_FSPEC related bug in a test
for _MPFR_EXP_FORMAT <= 2, e.g. with -D_MPFR_PREC_FORMAT=2.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13299 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tstrtofr.c')
-rw-r--r-- | tests/tstrtofr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tstrtofr.c b/tests/tstrtofr.c index 49d731024..943f49f19 100644 --- a/tests/tstrtofr.c +++ b/tests/tstrtofr.c @@ -1413,7 +1413,7 @@ random_tests (void) j++; } - sprintf (s2 + (j+2), "@%" MPFR_EXP_FSPEC "d", e0); + sprintf (s2 + (j+2), "@%" MPFR_EXP_FSPEC "d", (mpfr_eexp_t) e0); while (noteq == 0 && j < BSIZE - 1) { |