diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-11-25 10:20:53 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-11-25 10:20:53 +0000 |
commit | 41543853e197d444ab99152c4458411e1174d964 (patch) | |
tree | 8b0b91964879289164e054d02367072d621eba0d /tests/tfprintf.c | |
parent | d480d5b62bb0202ce1e774b777357216cfa22cc8 (diff) | |
download | mpfr-41543853e197d444ab99152c4458411e1174d964.tar.gz |
[acinclude.m4] added test for %zu
[tfprintf.c,tprintf.c] added #ifdef's for NPRINTF_ZU
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6582 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tfprintf.c')
-rw-r--r-- | tests/tfprintf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tfprintf.c b/tests/tfprintf.c index 1b62f185a..f060a4ed0 100644 --- a/tests/tfprintf.c +++ b/tests/tfprintf.c @@ -191,7 +191,9 @@ check_mixed (FILE *fout) check_length (4, i, 29, d); check_vfprintf (fout, "a. %R*A, b. %Fe, c. %i%zn", rnd, mpfr, mpf, sz, &sz); +#ifndef NPRINTF_ZU check_length (5, sz, 34, zu); +#endif check_vfprintf (fout, "a. %Pu, b. %c, c. %Zi%Zn", prec, ch, mpz, &mpz); check_length_with_cmp (6, mpz, 17, mpz_cmp_ui (mpz, 17), Zi); check_vfprintf (fout, "%% a. %#.0RNg, b. %Qx%Rn, c. %p", mpfr, mpq, &mpfr, @@ -205,8 +207,10 @@ check_mixed (FILE *fout) #ifndef NPRINTF_L check_vfprintf (fout, "a. %RA, b. %Lf, c. %QX%zn", mpfr, ld, mpq, &sz); +#ifndef NPRINTF_ZU check_length (9, sz, 30, zu); #endif +#endif #ifndef NPRINTF_HH check_vfprintf (fout, "a. %hhi, b.%RA, c. %hhu%hhn", sch, mpfr, uch, &uch); |