diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-05-19 11:24:03 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-05-19 11:24:03 +0000 |
commit | 5bafcab43168f5bed581ada67f8b1d09482b379d (patch) | |
tree | 74b8c25d44c28a2cd1ebd2713db2ad2c527f069e | |
parent | eab275e29749926217abd5a988fcb3fce70beac2 (diff) | |
download | mpfr-5bafcab43168f5bed581ada67f8b1d09482b379d.tar.gz |
[tests/tsprintf.c] Updated comment about r11501: the failure occurs
with %n when the size argument of mpfr_vsnprintf is 0.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11502 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | tests/tsprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tsprintf.c b/tests/tsprintf.c index e50a466f8..b227c0123 100644 --- a/tests/tsprintf.c +++ b/tests/tsprintf.c @@ -833,8 +833,8 @@ mixed (void) check_vsprintf ("-12345678, 1e240/45b352", "%.0R*f, %Qx", MPFR_RNDZ, x, mpq); /* Do the test several times due to random parameters in check_vsprintf - and the use of %n. - In practice, the case p < 0 will occur in check_vsprintf. */ + and the use of %n. In r11501, n2 is incorrect (seems random) when + randsize <= 0, i.e. when the size argument of mpfr_vsnprintf is 0. */ for (k = 0; k < 30; k++) { n2 = -17; |