float: Work around <float.h> bugs on FreeBSD/x86, AIX with GCC, IRIX.
[gnulib.git] / doc / posix-headers / float.texi
1 @node float.h
2 @section @file{float.h}
3
4 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/float.h.html}
5
6 Gnulib module: float
7
8 Portability problems fixed by Gnulib:
9 @itemize
10 @item
11 The values of @code{LDBL_*} macros are incorrect on some platforms:
12 On OpenBSD 4.0, MirBSD 10, and BeOS, they are the same as the values of the
13 @code{DBL_*} macros, although @samp{long double} is a larger type than
14 @samp{double}.
15 On FreeBSD/x86 6.4, they represent the incorrect 53-bit precision assumptions
16 in the compiler, not the real 64-bit precision at runtime.
17 On AIX 7.1 with GCC 4.2 and on IRIX 6.5, they don't reflect the
18 ``double double'' representation of @code{long double} correctly.
19 @end itemize
20
21 Portability problems not fixed by Gnulib:
22 @itemize
23 @end itemize