From 8c66a845d5eaee474332d1bd8067cd355d3c67be Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 7 Nov 2011 00:22:31 +0100 Subject: [PATCH] Doc about floating-point and math API. * doc/posix-headers/float.texi: Mention problem with FLT_ROUNDS. * doc/posix-headers/math.texi: Mention problem with math_errhandling. --- ChangeLog | 6 ++++++ doc/posix-headers/float.texi | 4 ++++ doc/posix-headers/math.texi | 3 +++ 3 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index cf27a759f..a2ed48a6b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-11-06 Bruno Haible + Doc about floating-point and math API. + * doc/posix-headers/float.texi: Mention problem with FLT_ROUNDS. + * doc/posix-headers/math.texi: Mention problem with math_errhandling. + +2011-11-06 Bruno Haible + stdalign tests: Skip the test when compiled by Sun C. * tests/test-stdalign.c (main): Skip the test on Sun C. diff --git a/doc/posix-headers/float.texi b/doc/posix-headers/float.texi index e6a78d72e..09f1388a2 100644 --- a/doc/posix-headers/float.texi +++ b/doc/posix-headers/float.texi @@ -25,4 +25,8 @@ correctly. Portability problems not fixed by Gnulib: @itemize +@item +The macro @code{FLT_ROUNDS} is a constant expression and does not represent +the current rounding mode on some platforms: +glibc 2.11, HP-UX 11, mingw. @end itemize diff --git a/doc/posix-headers/math.texi b/doc/posix-headers/math.texi index 12d547ce0..d181f76cd 100644 --- a/doc/posix-headers/math.texi +++ b/doc/posix-headers/math.texi @@ -32,4 +32,7 @@ Portability problems not fixed by Gnulib: @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 -- 2.11.0