]> Savannah Git Hosting - gnulib.git/commitdiff
fenv: Document an ABI break on MSVC.
authorBruno Haible <bruno@clisp.org>
Sat, 4 Nov 2023 12:22:08 +0000 (13:22 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 4 Nov 2023 12:50:04 +0000 (13:50 +0100)
* doc/posix-headers/fenv.texi: Document why fegetround and fesetround
are seemingly broken on MSVC.

ChangeLog
doc/posix-headers/fenv.texi

index 3b327c4c3da990ced61aa3c12c60c37b994347f1..c809e8f0107f74955cb1438dbd4f96cb9a0c7fc7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-11-04  Bruno Haible  <bruno@clisp.org>
+
+       fenv: Document an ABI break on MSVC.
+       * doc/posix-headers/fenv.texi: Document why fegetround and fesetround
+       are seemingly broken on MSVC.
+
 2023-10-31  Bruno Haible  <bruno@clisp.org>
 
        fenv-exceptions-trapping: Add tests.
index 36c636d7dbe982f7c96270ecf04a106c8325747c..25e306d579d5748c58b61e914f17382ba821b96f 100644 (file)
@@ -14,4 +14,9 @@ FreeBSD 5.2.1, NetBSD 5.0, OpenBSD 3.8, AIX 5.1, IRIX 6.5, Cygwin 1.7.7, MSVC 9.
 
 Portability problems not fixed by Gnulib:
 @itemize
+@item
+On MSVC, the values of the rounding direction macros have changed:
+@c https://github.com/MicrosoftDocs/cpp-docs/issues/4796
+In MSVC 14, @code{FE_UPWARD} is 0x100 and @code{FE_DOWNWARD} is 0x200,
+whereas in MSVC 14.30, it's the opposite.
 @end itemize