summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2008-03-31 06:22:49 -0600
committerEric Blake <ebb9@byu.net>2008-03-31 06:22:49 -0600
commit9553f74080a7fdad09e6f36e1cf55092b51bb31f (patch)
tree45011d7287904bbeba5ee2fdb34d155afba0306d /doc
parentce003b231f6c934025092afa7e5623f5fc36e1e6 (diff)
downloadgnulib-9553f74080a7fdad09e6f36e1cf55092b51bb31f.tar.gz
More strtod documentation.
* doc/posix-functions/strtod.texi (strtod): Interpret more test failures as distinct bugs. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/posix-functions/strtod.texi27
1 files changed, 21 insertions, 6 deletions
diff --git a/doc/posix-functions/strtod.texi b/doc/posix-functions/strtod.texi
index f1fdb43890..0a890a7510 100644
--- a/doc/posix-functions/strtod.texi
+++ b/doc/posix-functions/strtod.texi
@@ -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.
+
+@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:
+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, Solaris?, Cygwin < 1.5.25-11, mingw.
@item
-This function fails to parse NaN(n-char-sequence) on some platforms:
+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, Solaris?, 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