From: Bruno Haible Date: Sun, 6 Nov 2011 23:22:31 +0000 (+0100) Subject: Doc about floating-point and math API. X-Git-Tag: v0.1~1474 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=8c66a845d5eaee474332d1bd8067cd355d3c67be;p=gnulib.git 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. --- 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