Add info about many more platforms.
[pspp] / doc / posix-functions / strtod.texi
1 @node strtod
2 @section @code{strtod}
3 @findex strtod
4
5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/strtod.html}
6
7 Gnulib module: strtod
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some old platforms.
13
14 @item
15 This function mis-parses strings with leading @samp{+} on some old platforms:
16 Old versions of Linux.
17
18 @item
19 This function returns a wrong end pointer on some old platforms.
20
21 @item
22 This function fails to do a valid parse of @samp{-0x} on some
23 platforms:
24 glibc 2.4, MacOS X 10.3, FreeBSD 6.2, Cygwin < 1.5.25-11.
25
26 @item
27 This function fails to parse Infinities and plain NaNs on some platforms:
28 OpenBSD 4.0, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, Solaris 9, mingw.
29
30 @item
31 This function fails to parse NaN() on some platforms:
32 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.
33
34 @item
35 This function fails to parse NaN(n-char-sequence) on some platforms:
36 OpenBSD 4.0, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, Solaris?, mingw.
37
38 @item
39 This function returns the wrong end pointer when parsing
40 NaN(n-char-sequence) on some platforms:
41 glibc-2.4, OpenBSD 4.0, AIX 5.1, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, Solaris?, mingw.
42
43 @item
44 This function fails to parse C99 hexadecimal floating point on some
45 platforms:
46 NetBSD 3.0, OpenBSD 4.0, AIX 5.1, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, Solaris 10, mingw.
47 @end itemize
48
49 Portability problems not fixed by Gnulib:
50 @itemize
51 @item
52 This function returns +0.0 (not -0.0) for negative underflow on some
53 platforms:
54 glibc 2.7, Cygwin, mingw.
55
56 @item
57 This function cannot distinguish between ``nan'' and ``-nan'' on some
58 platforms:
59 glibc 2.7, IRIX 6.5, OSF/1 5.1, mingw.
60
61 @item
62 This function fails to correctly parse very long strings on some
63 platforms:
64 MacOS X 10.3, FreeBSD 6.2, NetBSD 3.0, OpenBSD 4.0, IRIX 6.5, OSF/1 5.1, Cygwin, mingw.
65
66 @item
67 The replacement function does not always return correctly rounded results.
68 @end itemize