X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Fstrtod.texi;h=6a488768ea864c04ad9c4afde66cfd475962a7de;hb=a155c5688ab059c1c2fff7f132116b455ddb37ba;hp=f1fdb43890211fda7d06b4053f3be4cca9c2895e;hpb=b442459322dbef0bcb547770565b05724e98b47d;p=gnulib.git diff --git a/doc/posix-functions/strtod.texi b/doc/posix-functions/strtod.texi index f1fdb4389..6a488768e 100644 --- a/doc/posix-functions/strtod.texi +++ b/doc/posix-functions/strtod.texi @@ -2,7 +2,7 @@ @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 @@ -19,26 +19,41 @@ Old versions of Linux. This function returns a wrong end pointer on some old platforms. @item -This function fails to do a valid parse of @samp{-0x} on some +This function consumes whitespace even when there is nothing that should +be parsed on some platforms: +IRIX 6.5, OSF/1 5.1. + +@item +This function allows whitespace between @samp{e} and the exponent on +some platforms: +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. @item +This function returns +0.0 (not -0.0) for @samp{-0} on some platforms: +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. @item -This function fails to parse 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, Solaris?, Cygwin < 1.5.25-11, mingw. +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. @item -This function fails to parse NaN(n-char-sequence) on some platforms: -OpenBSD 4.0, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, Solaris?, mingw. +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. @item -This function returns the wrong end pointer when parsing -NaN(n-char-sequence) on some platforms: -glibc-2.4, OpenBSD 4.0, AIX 5.1, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, Solaris?, mingw. +This function parses @samp{NaN(@var{n-char-sequence})}, but returns +the wrong end pointer on some platforms: +glibc-2.4, AIX 5.1. @item This function fails to parse C99 hexadecimal floating point on some @@ -51,7 +66,7 @@ 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. @item This function cannot distinguish between ``nan'' and ``-nan'' on some