From: Bruno Haible Date: Mon, 24 Jun 2024 18:03:39 +0000 (+0200) Subject: doc: Update info about *printf. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=68068ac4c56d40192cca1e385cf4b487c9adfb3f;p=gnulib.git doc: Update info about *printf. * doc/*-functions/*printf.texi: Update info regarding %f, %e, %g directives. --- diff --git a/ChangeLog b/ChangeLog index 04adbdc9a3..e48ae36e2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-06-24 Bruno Haible + + doc: Update info about *printf. + * doc/*-functions/*printf.texi: Update info regarding %f, %e, %g + directives. + 2024-06-24 Bruno Haible doc: Update info about *printf. diff --git a/doc/glibc-functions/asprintf.texi b/doc/glibc-functions/asprintf.texi index be7cd28546..96eb638eb7 100644 --- a/doc/glibc-functions/asprintf.texi +++ b/doc/glibc-functions/asprintf.texi @@ -35,7 +35,7 @@ Cygwin 1.5.24. @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an incorrect result on some platforms: -Solaris 11.0. +AIX 7.3, Solaris 11.4. @item This function does not support the @samp{a} and @samp{A} directives on some platforms: @@ -69,7 +69,7 @@ macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4. @item printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded with zeroes) on some platforms: -Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, Solaris 11.0, Cygwin 1.5.x. +Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x. @item printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an incorrect result (non-empty) on some platforms: diff --git a/doc/glibc-functions/obstack_printf.texi b/doc/glibc-functions/obstack_printf.texi index c205047e65..591968018f 100644 --- a/doc/glibc-functions/obstack_printf.texi +++ b/doc/glibc-functions/obstack_printf.texi @@ -32,7 +32,7 @@ mingw, MSVC 14. @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an incorrect result on some platforms: -AIX 5.2, Solaris 11.0, mingw, MSVC 14. +AIX 7.3, Solaris 11.4, mingw, MSVC 14. @item This function does not support the @samp{a} and @samp{A} directives on some platforms: @@ -68,7 +68,7 @@ macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4. @item printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded with zeroes) on some platforms: -Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.0, Cygwin 1.5.x, mingw, MSVC/clang. +Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. @item printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an incorrect result (non-empty) on some platforms: diff --git a/doc/glibc-functions/obstack_vprintf.texi b/doc/glibc-functions/obstack_vprintf.texi index e7703863d3..cb9d1c9a0f 100644 --- a/doc/glibc-functions/obstack_vprintf.texi +++ b/doc/glibc-functions/obstack_vprintf.texi @@ -32,7 +32,7 @@ mingw, MSVC 14. @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an incorrect result on some platforms: -AIX 5.2, Solaris 11.0, mingw, MSVC 14. +AIX 7.3, Solaris 11.4, mingw, MSVC 14. @item This function does not support the @samp{a} and @samp{A} directives on some platforms: @@ -68,7 +68,7 @@ macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4. @item printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded with zeroes) on some platforms: -Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.0, Cygwin 1.5.x, mingw, MSVC/clang. +Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. @item printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an incorrect result (non-empty) on some platforms: diff --git a/doc/glibc-functions/vasprintf.texi b/doc/glibc-functions/vasprintf.texi index 4d53e3e407..90468e2eec 100644 --- a/doc/glibc-functions/vasprintf.texi +++ b/doc/glibc-functions/vasprintf.texi @@ -35,7 +35,7 @@ Cygwin 1.5.24. @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an incorrect result on some platforms: -Solaris 11.0. +AIX 7.3, Solaris 11.4. @item This function does not support the @samp{a} and @samp{A} directives on some platforms: @@ -69,7 +69,7 @@ macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4. @item printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded with zeroes) on some platforms: -Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, Solaris 11.0, Cygwin 1.5.x. +Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x. @item printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an incorrect result (non-empty) on some platforms: diff --git a/doc/posix-functions/dprintf.texi b/doc/posix-functions/dprintf.texi index b19057fbe3..3150537ff8 100644 --- a/doc/posix-functions/dprintf.texi +++ b/doc/posix-functions/dprintf.texi @@ -24,7 +24,7 @@ AIX 7.2, Solaris 11.4, Cygwin 2.9.0. @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an incorrect result on some platforms: -Solaris 11.4. +AIX 7.3, Solaris 11.4. @item This function does not support the @samp{a} and @samp{A} directives on some platforms: @@ -45,7 +45,7 @@ macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4. @item printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded with zeroes, or wrong capitalization) on some platforms: -Solaris 11.4. +AIX 7.3, Solaris 11.4. @item printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an incorrect result (non-empty) on some platforms: diff --git a/doc/posix-functions/fprintf.texi b/doc/posix-functions/fprintf.texi index 36fafeea2f..1e4ba02ffb 100644 --- a/doc/posix-functions/fprintf.texi +++ b/doc/posix-functions/fprintf.texi @@ -24,7 +24,7 @@ mingw, MSVC 14. @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an incorrect result on some platforms: -AIX 5.2, Solaris 11.4, mingw, MSVC 14. +AIX 7.3, Solaris 11.4, mingw, MSVC 14. @item This function does not support the @samp{a} and @samp{A} directives on some platforms: @@ -60,7 +60,7 @@ macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4. @item printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded with zeroes, or wrong capitalization) on some platforms: -Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. +Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. @item printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an incorrect result (non-empty) on some platforms: diff --git a/doc/posix-functions/printf.texi b/doc/posix-functions/printf.texi index 55d4291a58..bbb881dc8e 100644 --- a/doc/posix-functions/printf.texi +++ b/doc/posix-functions/printf.texi @@ -24,7 +24,7 @@ mingw, MSVC 14. @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an incorrect result on some platforms: -AIX 5.2, Solaris 11.4, mingw, MSVC 14. +AIX 7.3, Solaris 11.4, mingw, MSVC 14. @item This function does not support the @samp{a} and @samp{A} directives on some platforms: @@ -60,7 +60,7 @@ macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4. @item printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded with zeroes, or wrong capitalization) on some platforms: -Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. +Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. @item printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an incorrect result (non-empty) on some platforms: diff --git a/doc/posix-functions/snprintf.texi b/doc/posix-functions/snprintf.texi index c954261289..6592192852 100644 --- a/doc/posix-functions/snprintf.texi +++ b/doc/posix-functions/snprintf.texi @@ -39,7 +39,7 @@ mingw, MSVC 14. @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an incorrect result on some platforms: -AIX 5.2, Solaris 11.4, mingw, MSVC 14. +AIX 7.3, Solaris 11.4, mingw, MSVC 14. @item This function does not support the @samp{a} and @samp{A} directives on some platforms: @@ -71,7 +71,7 @@ macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4. @item printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded with zeroes, or wrong capitalization) on some platforms: -Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. +Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. @item printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an incorrect result (non-empty) on some platforms: diff --git a/doc/posix-functions/sprintf.texi b/doc/posix-functions/sprintf.texi index 05bfccb771..21a8e1b983 100644 --- a/doc/posix-functions/sprintf.texi +++ b/doc/posix-functions/sprintf.texi @@ -24,7 +24,7 @@ mingw, MSVC 14. @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an incorrect result on some platforms: -AIX 5.2, Solaris 11.4, mingw, MSVC 14. +AIX 7.3, Solaris 11.4, mingw, MSVC 14. @item This function does not support the @samp{a} and @samp{A} directives on some platforms: @@ -60,7 +60,7 @@ macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4. @item printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded with zeroes, or wrong capitalization) on some platforms: -Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. +Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. @item printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an incorrect result (non-empty) on some platforms: diff --git a/doc/posix-functions/vdprintf.texi b/doc/posix-functions/vdprintf.texi index 9c12b75584..a88cf7f8e9 100644 --- a/doc/posix-functions/vdprintf.texi +++ b/doc/posix-functions/vdprintf.texi @@ -24,7 +24,7 @@ AIX 7.2, Solaris 11.4, Cygwin 2.9.0. @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an incorrect result on some platforms: -Solaris 11.4. +AIX 7.3, Solaris 11.4. @item This function does not support the @samp{a} and @samp{A} directives on some platforms: @@ -45,7 +45,7 @@ macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4. @item printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded with zeroes, or wrong capitalization) on some platforms: -Solaris 11.4. +AIX 7.3, Solaris 11.4. @item printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an incorrect result (non-empty) on some platforms: diff --git a/doc/posix-functions/vfprintf.texi b/doc/posix-functions/vfprintf.texi index f4f4a96bcd..3ff8a56c60 100644 --- a/doc/posix-functions/vfprintf.texi +++ b/doc/posix-functions/vfprintf.texi @@ -24,7 +24,7 @@ mingw, MSVC 14. @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an incorrect result on some platforms: -AIX 5.2, Solaris 11.4, mingw, MSVC 14. +AIX 7.3, Solaris 11.4, mingw, MSVC 14. @item This function does not support the @samp{a} and @samp{A} directives on some platforms: @@ -60,7 +60,7 @@ macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4. @item printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded with zeroes, or wrong capitalization) on some platforms: -Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. +Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. @item printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an incorrect result (non-empty) on some platforms: diff --git a/doc/posix-functions/vprintf.texi b/doc/posix-functions/vprintf.texi index 5dc013e895..746a70480c 100644 --- a/doc/posix-functions/vprintf.texi +++ b/doc/posix-functions/vprintf.texi @@ -24,7 +24,7 @@ mingw, MSVC 14. @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an incorrect result on some platforms: -AIX 5.2, Solaris 11.4, mingw, MSVC 14. +AIX 7.3, Solaris 11.4, mingw, MSVC 14. @item This function does not support the @samp{a} and @samp{A} directives on some platforms: @@ -60,7 +60,7 @@ macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4. @item printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded with zeroes, or wrong capitalization) on some platforms: -Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. +Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. @item printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an incorrect result (non-empty) on some platforms: diff --git a/doc/posix-functions/vsnprintf.texi b/doc/posix-functions/vsnprintf.texi index d470d27105..83b97745e9 100644 --- a/doc/posix-functions/vsnprintf.texi +++ b/doc/posix-functions/vsnprintf.texi @@ -36,7 +36,7 @@ mingw, MSVC 14. @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an incorrect result on some platforms: -AIX 5.2, Solaris 11.4, mingw, MSVC 14. +AIX 7.3, Solaris 11.4, mingw, MSVC 14. @item This function does not support the @samp{a} and @samp{A} directives on some platforms: @@ -68,7 +68,7 @@ macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4. @item printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded with zeroes, or wrong capitalization) on some platforms: -Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. +Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. @item printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an incorrect result (non-empty) on some platforms: diff --git a/doc/posix-functions/vsprintf.texi b/doc/posix-functions/vsprintf.texi index a1e8db5e16..9e0695f2c1 100644 --- a/doc/posix-functions/vsprintf.texi +++ b/doc/posix-functions/vsprintf.texi @@ -24,7 +24,7 @@ mingw, MSVC 14. @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an incorrect result on some platforms: -AIX 5.2, Solaris 11.4, mingw, MSVC 14. +AIX 7.3, Solaris 11.4, mingw, MSVC 14. @item This function does not support the @samp{a} and @samp{A} directives on some platforms: @@ -60,7 +60,7 @@ macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4. @item printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded with zeroes, or wrong capitalization) on some platforms: -Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. +Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang. @item printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an incorrect result (non-empty) on some platforms: