changeset 16487:3e8b04abbb58

fmodf-ieee: Work around test failure on MSVC 9. * modules/fmodf-ieee (Depends-on): Add fmod-ieee. * doc/posix-functions/fmodf.texi: Mention the fmodf-ieee module.
author Bruno Haible <bruno@clisp.org>
date Mon, 27 Feb 2012 12:52:27 +0100
parents 8b3ead70232c
children 8bed60fd8e6c
files ChangeLog doc/posix-functions/fmodf.texi modules/fmodf-ieee
diffstat 3 files changed, 15 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2012-02-27  Bruno Haible  <bruno@clisp.org>
 
+	fmodf-ieee: Work around test failure on MSVC 9.
+	* modules/fmodf-ieee (Depends-on): Add fmod-ieee.
+	* doc/posix-functions/fmodf.texi: Mention the fmodf-ieee module.
+
 	fmod-ieee: Work around test failures on OSF/1, mingw.
 	* m4/fmod-ieee.m4: New file.
 	* m4/fmod.m4 (gl_FUNC_FMOD): If gl_FUNC_FMOD_IEEE is present, test
--- a/doc/posix-functions/fmodf.texi
+++ b/doc/posix-functions/fmodf.texi
@@ -4,9 +4,9 @@
 
 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/fmodf.html}
 
-Gnulib module: fmodf
+Gnulib module: fmodf or fmodf-ieee
 
-Portability problems fixed by Gnulib:
+Portability problems fixed by either Gnulib module @code{fmodf} or @code{fmodf-ieee}:
 @itemize
 @item
 This function is missing on some platforms:
@@ -16,6 +16,14 @@
 MSVC 9.
 @end itemize
 
+Portability problems fixed by Gnulib module @code{fmodf-ieee}:
+@itemize
+@item
+This function has problems when the first argument is minus zero on some
+platforms:
+MSVC 9.
+@end itemize
+
 Portability problems not fixed by Gnulib:
 @itemize
 @end itemize
--- a/modules/fmodf-ieee
+++ b/modules/fmodf-ieee
@@ -6,6 +6,7 @@
 Depends-on:
 fmodf
 fpieee
+fmod-ieee       [test $HAVE_FMODF = 0]
 
 configure.ac: