Mercurial > hg > octave-jordi > gnulib-hg
view doc/posix-headers/float.texi @ 15799:f1d36de2d2bb
float: Fix LDBL_MAX value on Linux/PowerPC.
* m4/float_h.m4 (gl_FLOAT_H): Set FLOAT_H and REPLACE_FLOAT_LDBL also
on Linux/PowerPC.
* lib/float.in.h (LDBL_MAX): Redefine also on Linux/PowerPC.
* lib/float.c (gl_LDBL_MAX): Also define on Linux/PowerPC.
* doc/posix-headers/float.texi: Mention Linux/PowerPC as an affected
platform.
Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 30 Sep 2011 03:56:26 +0200 |
parents | deb35cf77594 |
children | ec6332cd8838 |
line wrap: on
line source
@node float.h @section @file{float.h} POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/float.h.html} Gnulib module: float Portability problems fixed by Gnulib: @itemize @item 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 Linux/PowerPC with GCC 4.4, 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: @itemize @end itemize