mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-16 01:22:18 +03:00
* m4/fmodf-ieee.m4: New file. * m4/fmodf.m4 (gl_FUNC_FMODF): If gl_FUNC_FMODF_IEEE is present, test whether fmodf works with zero arguments. Replace it if not. * lib/math.in.h (fmodf): Override if REPLACE_FMODF is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_FMODF. * modules/math (Makefile.am): Substitute REPLACE_FMODF. * modules/fmodf (configure.ac): Consider REPLACE_FMODF. (Depends-on): Update dependencies. * modules/fmodf-ieee (Files): Add m4/fmodf-ieee.m4. (configure.ac): Invoke gl_FUNC_FMODF_IEEE. * doc/posix-functions/fmodf.texi: Mention the problem on OSF/1.
33 lines
808 B
Plaintext
33 lines
808 B
Plaintext
@node fmodf
|
|
@section @code{fmodf}
|
|
@findex fmodf
|
|
|
|
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/fmodf.html}
|
|
|
|
Gnulib module: fmodf or fmodf-ieee
|
|
|
|
Portability problems fixed by either Gnulib module @code{fmodf} or @code{fmodf-ieee}:
|
|
@itemize
|
|
@item
|
|
This function is missing on some platforms:
|
|
Minix 3.1.8, AIX 5.1, Solaris 9.
|
|
@item
|
|
This function is only defined as a macro with arguments on some platforms:
|
|
MSVC 9.
|
|
@end itemize
|
|
|
|
Portability problems fixed by Gnulib module @code{fmodf-ieee}:
|
|
@itemize
|
|
@item
|
|
This function has problems when the second argument is zero on some platforms:
|
|
OSF/1 5.1.
|
|
@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
|