changeset 16052:3e022c4e0316

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.
author Bruno Haible <bruno@clisp.org>
date Mon, 07 Nov 2011 00:22:31 +0100
parents ad562dcd34c2
children 48e53ddfb126
files ChangeLog doc/posix-headers/float.texi doc/posix-headers/math.texi
diffstat 3 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-11-06  Bruno Haible  <bruno@clisp.org>
+
+	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  <bruno@clisp.org>
 
 	stdalign tests: Skip the test when compiled by Sun C.
--- a/doc/posix-headers/float.texi
+++ b/doc/posix-headers/float.texi
@@ -25,4 +25,8 @@
 
 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
--- a/doc/posix-headers/math.texi
+++ b/doc/posix-headers/math.texi
@@ -32,4 +32,7 @@
 @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