X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Fstrtod.texi;h=294f05a26ff52f19e1def0bcefa765a87ac5f3be;hb=d4b6128e5b83f528e79259585977a126ce29c7a8;hp=b59ed48d612e815f0aea62019198d6cd515f5db7;hpb=9ce1093cdc8d01f3021819b05825bc341fa1e4bb;p=gnulib.git diff --git a/doc/posix-functions/strtod.texi b/doc/posix-functions/strtod.texi index b59ed48d6..294f05a26 100644 --- a/doc/posix-functions/strtod.texi +++ b/doc/posix-functions/strtod.texi @@ -2,16 +2,13 @@ @section @code{strtod} @findex strtod -POSIX specification: @url{http://www.opengroup.org/susv3xsh/strtod.html} +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/strtod.html} -Gnulib module: strtod +Gnulib module: strtod or strtod-obsolete -Portability problems fixed by Gnulib: +Portability problems fixed by either Gnulib module @code{strtod} or @code{strtod-obsolete}: @itemize @item -This function is missing on some old platforms. - -@item This function mis-parses strings with leading @samp{+} on some old platforms: Old versions of Linux. @@ -31,34 +28,46 @@ HP-UX 11.11, IRIX 6.5, OSF/1 4.0. @item This function returns the wrong end pointer for @samp{-0x} on some platforms: -glibc 2.4, MacOS X 10.3, FreeBSD 6.2, Cygwin < 1.5.25-11. +glibc 2.4, MacOS X 10.5, FreeBSD 6.2, AIX 7.1, Cygwin < 1.5.25-11. @item This function returns +0.0 (not -0.0) for @samp{-0} on some platforms: -IRIX 6.5. +IRIX 6.5, OSF/1 4.0. @item This function fails to parse Infinities and plain NaNs on some platforms: -OpenBSD 4.0, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, Solaris 9, mingw. +OpenBSD 4.0, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, Solaris 9, mingw, MSVC 9. @item This function fails to parse @samp{NaN()} on some platforms: -glibc-2.3.6, MacOS X 10.3, FreeBSD 6.2, OpenBSD 4.0, AIX 5.1, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, Cygwin < 1.5.25-11, mingw. +glibc-2.3.6, MacOS X 10.5, FreeBSD 6.2, OpenBSD 4.0, AIX 7.1, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, Cygwin < 1.5.25-11, mingw, MSVC 9. @item This function fails to parse @samp{NaN(@var{n-char-sequence})} on some platforms: -OpenBSD 4.0, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, mingw. +OpenBSD 4.0, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, mingw, MSVC 9. @item This function parses @samp{NaN(@var{n-char-sequence})}, but returns the wrong end pointer on some platforms: -glibc-2.4, AIX 5.1. +glibc-2.4, AIX 7.1. @item This function fails to parse C99 hexadecimal floating point on some platforms: -NetBSD 3.0, OpenBSD 4.0, AIX 5.1, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, Solaris 10, mingw. +NetBSD 5.0, OpenBSD 4.0, AIX 5.1, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, +Solaris 11 2011-11, mingw, MSVC 9. + +@item +This function returns the wrong end pointer for @samp{0x1p} on some +platforms: +AIX 7.1. +@end itemize + +Portability problems fixed by Gnulib module @code{strtod-obsolete}: +@itemize +@item +This function is missing on some old platforms. @end itemize Portability problems not fixed by Gnulib: @@ -66,17 +75,17 @@ Portability problems not fixed by Gnulib: @item This function returns +0.0 (not -0.0) for negative underflow on some platforms: -glibc 2.7, Cygwin, mingw. +glibc 2.7, Cygwin 1.5.x, mingw, MSVC 9. @item This function cannot distinguish between ``nan'' and ``-nan'' on some platforms: -glibc 2.7, IRIX 6.5, OSF/1 5.1, mingw. +glibc 2.7, IRIX 6.5, OSF/1 5.1, mingw, MSVC 9. @item This function fails to correctly parse very long strings on some platforms: -MacOS X 10.3, FreeBSD 6.2, NetBSD 3.0, OpenBSD 4.0, IRIX 6.5, OSF/1 5.1, Cygwin, mingw. +MacOS X 10.5, FreeBSD 6.2, NetBSD 5.0, OpenBSD 4.0, IRIX 6.5, OSF/1 5.1, Cygwin, mingw, MSVC 9. @item The replacement function does not always return correctly rounded results.