X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-headers%2Fmath.texi;h=e64066392b0182946d5fbccb3d6e45691babb630;hb=43593319b31e6b0175b8eec4433bac744959822d;hp=dde9cd0378d73a10fd8b928226c84786f573f553;hpb=2b6c08c775ae4e80b52aa41058ea5939f778b44b;p=gnulib.git diff --git a/doc/posix-headers/math.texi b/doc/posix-headers/math.texi index dde9cd037..e64066392 100644 --- a/doc/posix-headers/math.texi +++ b/doc/posix-headers/math.texi @@ -1,14 +1,48 @@ @node math.h @section @file{math.h} -POSIX specification: @url{http://www.opengroup.org/susv3xbd/math.h.html} +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/math.h.html} Gnulib module: math Portability problems fixed by Gnulib: @itemize +@item +The conversion from @code{int} to @code{long double} in incorrect on some +platforms: +glibc 2.7 on Linux/SPARC64. + +@item +The macro @code{NAN} is not defined on some platforms: +OpenBSD 4.0, AIX 5.1, IRIX 6.5, OSF/1 5.1. + +@item +The macro @code{NAN} is not exposed outside of C99 compilation on some +platforms: +glibc. + +@item +The macros @code{NAN} and @code{HUGE_VAL} expand to a function address +rather than a floating point constant on some platforms: +Solaris 10. + +@item +The macros @code{HUGE_VALF} and @code{HUGE_VALL} are not defined on some +platforms: +glibc/HPPA, glibc/SPARC, AIX 5.1, IRIX 6.5, Solaris 9, MSVC 9. + +@item +The macros @code{FP_ILOGB0} and @code{FP_ILOGBNAN} are not defined on some +platforms: +NetBSD 5.1, AIX 5.1, IRIX 6.5, Solaris 9, MSVC 9. @end itemize Portability problems not fixed by Gnulib: @itemize +@item +@code{NAN} is not a compile time constant with some compilers: +OSF/1 with Compaq (ex-DEC) C 6.4. +@item +The macro or variable @code{math_errhandling} is not defined on some platforms: +glibc 2.11, OpenBSD 4.9, NetBSD 5.1, UP-UX 11, IRIX 6.5, OSF/1 5.1, Cygwin 1.7.9, mingw, MSVC 9. @end itemize