diff options
author | Bruno Haible <bruno@clisp.org> | 2011-06-20 12:38:05 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-20 12:38:05 +0200 |
commit | 6187bd67c9ce5258a01fb1305b4257a67daa4154 (patch) | |
tree | acbd252756f739170bfd30fdc71a2e0ae85c8466 /doc/posix-headers/float.texi | |
parent | 47adaa0934a6793f89cdf7af5c02335ec2b7f9d6 (diff) | |
download | gnulib-6187bd67c9ce5258a01fb1305b4257a67daa4154.tar.gz |
float: Work around <float.h> bugs on FreeBSD/x86, AIX with GCC, IRIX.
* lib/float.in.h: Add workarounds for FreeBSD/x86, AIX with GCC, IRIX.
* lib/float.c: New file.
* m4/float_h.m4 (gl_FLOAT_H): Also handle FreeBSD, AIX, IRIX. Set
REPLACE_FLOAT_LDBL.
* modules/float (Files): Add lib/float.c.
(configure.ac): Invoke AC_LIBOBJ.
* doc/posix-headers/float.texi: Mention problems on FreeBSD, AIX, IRIX.
Diffstat (limited to 'doc/posix-headers/float.texi')
-rw-r--r-- | doc/posix-headers/float.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/posix-headers/float.texi b/doc/posix-headers/float.texi index c3f9a76cd1..c222a23425 100644 --- a/doc/posix-headers/float.texi +++ b/doc/posix-headers/float.texi @@ -12,6 +12,10 @@ The values of @code{LDBL_*} macros are incorrect on some platforms: On OpenBSD 4.0, MirBSD 10, and BeOS, they are the same as the values of the @code{DBL_*} macros, although @samp{long double} is a larger type than @samp{double}. +On FreeBSD/x86 6.4, they represent the incorrect 53-bit precision assumptions +in the compiler, not the real 64-bit precision at runtime. +On AIX 7.1 with GCC 4.2 and on IRIX 6.5, they don't reflect the +``double double'' representation of @code{long double} correctly. @end itemize Portability problems not fixed by Gnulib: |