summaryrefslogtreecommitdiff
path: root/tests/tprintf.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-09-16 13:02:52 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-09-16 13:02:52 +0000
commitb177a04d7e22caf0ffc8f3b957e7a36a0bf70939 (patch)
treee30cb184063852632d26931939221bc407af7a24 /tests/tprintf.c
parent02840628a991b979b2404485facce35704a4a2b3 (diff)
downloadmpfr-b177a04d7e22caf0ffc8f3b957e7a36a0bf70939.tar.gz
For consistency, changed "C89" to "C90" in comments of *.{c,h} files.
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14130 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tprintf.c')
-rw-r--r--tests/tprintf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/tprintf.c b/tests/tprintf.c
index 2a724dd75..2e47aeb44 100644
--- a/tests/tprintf.c
+++ b/tests/tprintf.c
@@ -320,7 +320,7 @@ check_mixed (void)
check_vprintf ("a. %hi, b. %f, c. %#.2Rf%n", sh, d, mpfr, &i);
check_length (4, i, 29, d);
check_vprintf ("a. %R*A, b. %Fe, c. %i%zn", rnd, mpfr, mpf, sz, &sz);
- check_length (5, (unsigned long) sz, 34, lu); /* no format specifier '%zu' in C89 */
+ check_length (5, (unsigned long) sz, 34, lu); /* no format specifier '%zu' in C90 */
check_vprintf ("a. %Pu, b. %c, c. %RUG, d. %Zi%Zn", prec, ch, mpfr, mpz, &mpz);
check_length_with_cmp (6, mpz, 24, mpz_cmp_ui (mpz, 24), Zi);
check_vprintf ("%% a. %#.0RNg, b. %Qx%Rn c. %p",
@@ -339,17 +339,17 @@ check_mixed (void)
"with -D__USE_MINGW_ANSI_STDIO might be required.\n");
#endif
}
- check_length (8, (long) p, 20, ld); /* no format specifier '%td' in C89 */
+ check_length (8, (long) p, 20, ld); /* no format specifier '%td' in C90 */
#endif
#ifdef PRINTF_L
check_vprintf ("a. %RA, b. %Lf, c. %QX%zn", mpfr, ld, mpq, &sz);
- check_length (9, (unsigned long) sz, 30, lu); /* no format specifier '%zu' in C89 */
+ check_length (9, (unsigned long) sz, 30, lu); /* no format specifier '%zu' in C90 */
#endif
#ifndef NPRINTF_HH
check_vprintf ("a. %hhi, b. %Ra, c. %hhu%hhn", sch, mpfr, uch, &uch);
- check_length (10, (unsigned int) uch, 22, u); /* no format specifier '%hhu' in C89 */
+ check_length (10, (unsigned int) uch, 22, u); /* no format specifier '%hhu' in C90 */
#endif
#if defined(HAVE_LONG_LONG) && !defined(NPRINTF_LL)
@@ -372,7 +372,7 @@ check_mixed (void)
check_vprintf ("a. %*RA, b. %ji%Fn", 10, mpfr, im, &mpf);
check_length_with_cmp (31, mpf, 20, mpf_cmp_ui (mpf, 20), Fg);
check_vprintf ("a. %.*Re, b. %jx%jn", 10, mpfr, uim, &im);
- check_length (32, (long) im, 25, li); /* no format specifier "%ji" in C89 */
+ check_length (32, (long) im, 25, li); /* no format specifier "%ji" in C90 */
}
#endif