mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-16 01:22:18 +03:00
* m4/modff-ieee.m4: New file. * m4/modff.m4 (gl_FUNC_MODFF): If gl_FUNC_MODFF_IEEE is present, test whether modff works with NaN and Inf. Replace it if not. * lib/math.in.h (modff): Override if REPLACE_MODFF is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_MODFF. * modules/math (Makefile.am): Substitute REPLACE_MODFF. * modules/modff (configure.ac): Consider REPLACE_MODFF. (Depends-on): Update dependencies. * modules/modff-ieee (Files): Add m4/modff-ieee.m4, m4/minus-zero.m4, m4/signbit.m4. (Depends-on): Add modf-ieee. (configure.ac): Invoke gl_FUNC_MODFF_IEEE. * doc/posix-functions/modff.texi: Mention the modff-ieee module.
32 lines
839 B
Plaintext
32 lines
839 B
Plaintext
@node modff
|
|
@section @code{modff}
|
|
@findex modff
|
|
|
|
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/modff.html}
|
|
|
|
Gnulib module: modff or modff-ieee
|
|
|
|
Portability problems fixed by either Gnulib module @code{modff} or @code{modff-ieee}:
|
|
@itemize
|
|
@item
|
|
This function is missing on some platforms:
|
|
Minix 3.1.8, AIX 5.1, HP-UX 11.
|
|
@item
|
|
This function is only defined as a buggy macro with arguments on some platforms:
|
|
MSVC 9.
|
|
@end itemize
|
|
|
|
Portability problems fixed by Gnulib module @code{modff-ieee}:
|
|
@itemize
|
|
@item
|
|
This function has problems with a NaN argument on some platforms:
|
|
NetBSD 5.1, OpenBSD 4.9, Solaris 9, Cygwin.
|
|
@item
|
|
This function has problems with infinite arguments on some platforms:
|
|
IRIX 6.5, OSF/1 5.1, mingw.
|
|
@end itemize
|
|
|
|
Portability problems not fixed by Gnulib:
|
|
@itemize
|
|
@end itemize
|