Add hex float support.
[gnulib.git] / 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 platforms:
20 Solaris 2.4.
21
22 @item
23 This function fails to do a valid parse of @samp{-0x} on some
24 platforms:
25 glibc 2.4, Cygwin < 1.5.25-11.
26
27 @item
28 This function fails to parse Infinities and plain NaNs on some platforms:
29 Solaris 8, Mingw, OpenBSD 4.0.
30
31 @item
32 This function fails to parse NaN() on some platforms:
33 Solaris 8, Mingw, OpenBSD 4.0, Cygwin < 1.5.25-11.
34
35 @item
36 This function fails to parse NaN(n-char-sequence) on some platforms:
37 Solaris 8, Mingw, OpenBSD 4.0.
38
39 @item
40 This function returns the wrong end pointer when parsing
41 NaN(n-char-sequence) on some platforms:
42 glibc 2.4.
43
44 @item
45 This function fails to parse C99 hexadecimal floating point on some
46 platforms:
47 Solaris 8, Mingw, OpenBSD 4.0.
48 @end itemize
49
50 Portability problems not fixed by Gnulib:
51 @itemize
52 @item
53 This function returns a positive value for negative underflow on some
54 platforms:
55 glibc 2.4, Mingw, Cygwin.
56
57 @item
58 This function fails to correctly parse very long strings on some
59 platforms:
60 Mingw, Cygwin.
61
62 @item
63 The replacement function does not always return correctly rounded results.
64 @end itemize