diff options
author | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-08-12 14:07:24 +0000 |
---|---|---|
committer | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-08-12 14:07:24 +0000 |
commit | 0c363b691cb873b7b2ebeb8f000a2ce2eb15c367 (patch) | |
tree | b3efd6a9ea999db13973c3290a65e2137b653402 /tests/tget_str.c | |
parent | 7c1b0741d09e431f09a18bf5b4f62d2b81b1c85a (diff) | |
download | mpfr-0c363b691cb873b7b2ebeb8f000a2ce2eb15c367.tar.gz |
get_str.c vasprintf.c: Add support for the rounding away from zero mode.
mpfr.texi: MPFR_RNDA mode support in printf functions.
tests/tsprintf.c tests/tget_str.c: Test MPFR_RNDA support.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6364 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tget_str.c')
-rw-r--r-- | tests/tget_str.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tget_str.c b/tests/tget_str.c index b2bdfcf13..ea0b31f23 100644 --- a/tests/tget_str.c +++ b/tests/tget_str.c @@ -1252,11 +1252,13 @@ main (int argc, char *argv[]) check3 ("-6.7274500420134077e-87", MPFR_RNDZ, "-67274"); check3 ("-6.7274500420134077e-87", MPFR_RNDU, "-67274"); check3 ("-6.7274500420134077e-87", MPFR_RNDD, "-67275"); + check3 ("-6.7274500420134077e-87", MPFR_RNDA, "-67275"); check3 ("6.7274500420134077e-87", MPFR_RNDN, "67275"); check3 ("6.7274500420134077e-87", MPFR_RNDZ, "67274"); check3 ("6.7274500420134077e-87", MPFR_RNDU, "67275"); check3 ("6.7274500420134077e-87", MPFR_RNDD, "67274"); + check3 ("6.7274500420134077e-87", MPFR_RNDA, "67275"); check_bug_base2k (); check_reduced_exprange (); |